Skip to content

Commit

Permalink
Add TEST3 and TEST4
Browse files Browse the repository at this point in the history
  • Loading branch information
hyschive committed Jan 9, 2025
1 parent b934cd2 commit 3aef67a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Parameters described on this page:
[END_T](#END_T),  
[END_STEP](#END_STEP),  
[TESTPROB_ID](#TESTPROB_ID)  
[TEST3](#TEST3)  

Other related parameters: none

Expand Down Expand Up @@ -79,6 +80,13 @@ Test problem ID. See [[Test Problems]] for details. It currently supports
* ...
* **Restriction:**

<a name="TEST3"></a>
* #### `TEST3` &ensp; (&#8805;0) &ensp; [0]
* **Description:**
Test Test Test3
* ...
* **Restriction:**


## Remarks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Parameters described on this page:
[LB_INPUT__PAR_WEIGHT](#LB_INPUT__PAR_WEIGHT), &nbsp;
[OPT__RECORD_LOAD_BALANCE](#OPT__RECORD_LOAD_BALANCE), &nbsp;
[OPT__MINIMIZE_MPI_BARRIER](#OPT__MINIMIZE_MPI_BARRIER) &nbsp;
[TEST4](#TEST4) &nbsp;


Parameters below are shown in the format: &ensp; **`Name` &ensp; (Valid Values) &ensp; [Default Value]**
Expand Down Expand Up @@ -81,6 +82,12 @@ set [[PAR_IMPROVE_ACC | Runtime Parameters:-Particles#PAR_IMPROVE_ACC]]=1.
must be disabled. In addition, it is currently recommended to disable
[[AUTO_REDUCE_DT | Runtime Parameters:-Timestep#AUTO_REDUCE_DT]].

<a name="TEST4"></a>
* #### `TEST4` &ensp; (0=off, 1=on) &ensp; [0]
* **Description:**
Test Test Test 4
* **Restriction:**


## Remarks

Expand Down
3 changes: 3 additions & 0 deletions example/test_problem/Template/Input__Parameter
Original file line number Diff line number Diff line change
Expand Up @@ -452,3 +452,6 @@ OPT__CK_PARTICLE 0 # check the particle allocation [0]
OPT__CK_INTERFACE_B 0 # check the consistency of patch interface B field [0] ##MHD ONLY##
OPT__CK_DIVERGENCE_B 0 # check the divergence-free constraint on B field (0=off, 1=on, 2=on+verbose) [0] ##MHD ONLY##
OPT__CK_INPUT_FLUID 0 # check the input data of the fluid solver [0]

TEST3 1 # test 3
TEST4 0 # test 4
6 changes: 6 additions & 0 deletions src/Init/Init_Load_Parameter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,12 @@ void Init_Load_Parameter()
ReadPara->Add( "OPT__CK_DIVERGENCE_B", &OPT__CK_DIVERGENCE_B, 0, 0, 2 );
# endif
ReadPara->Add( "OPT__CK_INPUT_FLUID", &OPT__CK_INPUT_FLUID, false, Useless_bool, Useless_bool );
ReadPara->Add( "TEST3", &TEST3, 2, 0, 4 );
# if ( MODEL == HYDRO )
ReadPara->Add( "TEST4", &TEST4, 1, 0, 2 );
# else
ReadPara->Add( "TEST4", &TEST4, 0, -1, 3 );
# endif



Expand Down

0 comments on commit 3aef67a

Please sign in to comment.