Skip to content

Commit 2ec767e

Browse files
committed
update input from json file
1 parent 2b4bf4a commit 2ec767e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ int main(int argc, char *argv[])
8585
int nsteps = input["simulation"]["nsteps"];
8686
int z = input["simulation"]["z"];
8787

88-
double phi_alpha=(90.0*phi_h)*DEG2RAD;
88+
double phi_alpha=(90.0+phi_h)*DEG2RAD;
8989
double omega =(2.0*k*Qinf)/c;
9090
double T = 2.0*pi/omega;
9191
double dt = T / nsteps; // time increment

0 commit comments

Comments
 (0)