We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da8bbe commit 36056b3Copy full SHA for 36056b3
models/multiphase/d3q27_pf_velocity/Dynamics.c.Rt
@@ -400,6 +400,10 @@ CudaDeviceFunction void specialCases_Init()
400
PhaseF = 1 - 0.5 * ( tanh( 2.0 * ( X - Washburn_start ) / IntWidth ) -
401
tanh( 2.0 * ( X - Washburn_end ) / IntWidth ));
402
}
403
+ if (Tanh_init > 0) {
404
+ PhaseF = 0.5 + 0.5*( tanh( 2.0 * ( X - Tanh_init) / IntWidth ));
405
+ }
406
+
407
408
409
CudaDeviceFunction void Init_distributions()
0 commit comments