@@ -96,7 +96,7 @@ For details see
9696
97972. Magnetic field IC & # 8212; choose one of the following two methods
9898(only necessary when enabling
99- [[--mhd | Installation: -Option-List#--mhd]]):
99+ [[--mhd | [ Installation] -Option-List#--mhd]]):
100100
101101 * Specify the magnetic field IC by editing the function `SetBFieldIC()`
102102or specify the vector potential IC by editing a function linking to the function pointer
@@ -109,7 +109,7 @@ uniform-mesh binary file. For details see
109109
1101103. Particles IC & # 8212; choose one of the following two methods
111111(only necessary when enabling
112- [[--particle | Installation: -Option-List#--particle]]):
112+ [[--particle | [ Installation] -Option-List#--particle]]):
113113
114114 * Specify a particle initialization function.
115115 1. Define the function `Par_Init_ByFunction_NewProblem()`.
@@ -200,7 +200,7 @@ during the runtime.
200200 ` ` `
201201
2022024. Add these parameters to the input file ` Input__TestProb`
203- (see [[Input__TestProb | Runtime-Parameters: -Input__TestProb]]
203+ (see [[Input__TestProb | [ Runtime-Parameters] -Input__TestProb]]
204204for the file format).
205205This file must be put in the same directory as the executable ` gamer`
206206when running the code.
@@ -220,7 +220,7 @@ when running the code.
220220
221221It takes 4 small steps to add a new grid field:
222222
223- 1. Set [[ --passive | Installation: -Option-List#--passive]]
223+ 1. Set [[ --passive | [ Installation] -Option-List#--passive]]
224224to ` N` (for ` N` new fields) when generating the Makefile.
225225
2262262. Declare a global integer variable on the top of the problem source
@@ -232,7 +232,7 @@ file to store the new field index. For example,
232232
233233 Note that some field index variables have been pre-declared in
234234` include/Field.h` (e.g., ` Idx_Metal` for the field ` Metal` used by,
235- for example, [[ GRACKLE_METAL | Runtime-Parameters: -Chemistry-and-Radiation#GRACKLE_METAL ]]).
235+ for example, [[ GRACKLE_METAL | [ Runtime-Parameters] -Chemistry-and-Radiation#GRACKLE_METAL ]]).
236236Whenever applicable, skip this step and use these pre-declared index variables
237237directly.
238238
@@ -267,12 +267,12 @@ It controls whether the new field will be floored to `TINY_NUMBER` to ensure pos
267267 The fifth parameter should be set to either ` NORMALIZE_YES` or ` NORMALIZE_NO` .
268268It controls whether the new field will be renormalized by the total gas density
269269after every update when enabling
270- [[ OPT__NORMALIZE_PASSIVE | Runtime-Parameters: -Hydro#OPT__NORMALIZE_PASSIVE ]].
270+ [[ OPT__NORMALIZE_PASSIVE | [ Runtime-Parameters] -Hydro#OPT__NORMALIZE_PASSIVE ]].
271271
272272 The sixth parameter should be set to either ` INTERP_FRAC_YES` or ` INTERP_FRAC_NO` .
273273It controls whether the new field will be converted to mass fraction during interpolation
274274when enabling
275- [[ OPT__INT_FRAC_PASSIVE_LR | Runtime-Parameters: -Hydro#OPT__INT_FRAC_PASSIVE_LR ]].
275+ [[ OPT__INT_FRAC_PASSIVE_LR | [ Runtime-Parameters] -Hydro#OPT__INT_FRAC_PASSIVE_LR ]].
276276
277277 One must also set the function pointer ` Init_Field_User_Ptr` in the problem
278278initialization function `Init_TestProb_Hydro_NewProblem()`.
@@ -283,7 +283,7 @@ initialization function `Init_TestProb_Hydro_NewProblem()`.
283283
284284> [! NOTE]
285285> The built-in field ` Metal` with the field index ` Idx_Metal`
286- will be added automatically when enabling [[ GRACKLE_METAL | Runtime-Parameters: -Chemistry-and-Radiation#GRACKLE_METAL ]].
286+ will be added automatically when enabling [[ GRACKLE_METAL | [ Runtime-Parameters] -Chemistry-and-Radiation#GRACKLE_METAL ]].
287287
2882884. Assign initial values to the new field in ` SetGridIC()` using the corresponding
289289field index. For example,
@@ -305,8 +305,8 @@ field index. For example,
305305Adding a new particle attribute is very similar to adding a new grid field.
306306So we only highlight the differences in each of the 4 steps above.
307307
308- 1. Set [[ --par_attribute_flt | Installation: -Option-List#--par_attribute_flt ]] and
309- [[ --par_attribute_int | Installation: -Option-List#--par_attribute_int ]]
308+ 1. Set [[ --par_attribute_flt | [ Installation] -Option-List#--par_attribute_flt ]] and
309+ [[ --par_attribute_int | [ Installation] -Option-List#--par_attribute_int ]]
310310instead when generating the Makefile.
311311
3123122. Declare a global integer variable on the top of the problem source
@@ -394,7 +394,7 @@ The following example illustrates the procedure to add a problem-specific
394394 ` ` `
395395
3963964. Turn on the corresponding runtime option
397- [[OPT__OUTPUT_USER | Runtime-Parameters: -Outputs#OPT__OUTPUT_USER]].
397+ [[OPT__OUTPUT_USER | [ Runtime-Parameters] -Outputs#OPT__OUTPUT_USER]].
398398when running the code.
399399
400400 ` ` `
@@ -415,7 +415,7 @@ Provide a custom routine for [[Setting IC from Files - Grids | Initial-Condition
415415* ** Function Pointer:**
416416` Init_ByFile_User_Ptr`
417417* ** Runtime Option:**
418- [[OPT__INIT | Runtime-Parameters: -Initial-Conditions#OPT__INIT]]=3
418+ [[OPT__INIT | [ Runtime-Parameters] -Initial-Conditions#OPT__INIT]]=3
419419* ** Example:**
420420` src/Init/Init_ByFile.cpp` & # 8594; ` Init_ByFile_Default()`
421421
@@ -427,7 +427,7 @@ Provide a custom routine for [[Setting IC from Files - Particles | Initial-Condi
427427* ** Function Pointer:**
428428` Par_Init_ByFile_User_Ptr`
429429* ** Runtime Option:**
430- [[PAR_INIT | Runtime-Parameters: -Particles#PAR_INIT]]=3
430+ [[PAR_INIT | [ Runtime-Parameters] -Particles#PAR_INIT]]=3
431431* ** Example:**
432432` src/Particle/Par_Init_ByFile.cpp` & # 8594; ` Par_Init_ByFile_Default()`
433433# ## Work Before Output
@@ -448,14 +448,14 @@ None
448448# ## Refinement Criteria
449449* ** Description:**
450450Add user-specified refinement criteria. See
451- [[OPT__FLAG_USER | Runtime-Parameters: -Refinement#OPT__FLAG_USER]]
451+ [[OPT__FLAG_USER | [ Runtime-Parameters] -Refinement#OPT__FLAG_USER]]
452452for details.
453453* ** Prototype:**
454454` bool Flag_NewProblem( const int, const int, const int, const int, const int, const double ); `
455455* ** Function Pointer:**
456456` Flag_User_Ptr`
457457* ** Runtime Option:**
458- [[OPT__FLAG_USER | Runtime-Parameters: -Refinement#OPT__FLAG_USER]]
458+ [[OPT__FLAG_USER | [ Runtime-Parameters] -Refinement#OPT__FLAG_USER]]
459459* ** Example:**
460460` src/Refine/Flag_User.cpp`
461461
@@ -479,7 +479,7 @@ Add user-specified timestep constraints.
479479* ** Function Pointer:**
480480` Mis_GetTimeStep_User_Ptr`
481481* ** Runtime Option:**
482- [[OPT__DT_USER | Runtime-Parameters: -Timestep#OPT__DT_USER]]
482+ [[OPT__DT_USER | [ Runtime-Parameters] -Timestep#OPT__DT_USER]]
483483* ** Example:**
484484` src/Miscellaneous/Mis_GetTimeStep_User.cpp`
485485
@@ -492,7 +492,7 @@ Add user-specified (i.e., inflow) boundary conditions.
492492` BC_User_Ptr` for the cell-centered fluid variables and
493493` BC_BField_User_Ptr` for the face-centered magnetic field
494494* ** Runtime Option:**
495- [[OPT__BC_FLU_* | Runtime-Parameters: -Hydro#OPT__BC_FLU_XM]] = 4
495+ [[OPT__BC_FLU_* | [ Runtime-Parameters] -Hydro#OPT__BC_FLU_XM]] = 4
496496* ** Example:**
497497` src/TestProblem/ELBDM/ExtPot/Init_TestProb_ELBDM_ExtPot.cpp`
498498& # 8594; ` BC()`
@@ -510,7 +510,7 @@ Using the vector potential is recommended since it reduces the divergence-free e
510510Note that one still needs to define ` MHD_ResetByUser_BField_Ptr` when using the vector potential
511511(see the example below).
512512* ** Restriction:**
513- * [[INIT_SUBSAMPLING_NCELL | Runtime-Parameters: -Initial-Conditions#INIT_SUBSAMPLING_NCELL]] has no effect on resetting the initial magnetic field.
513+ * [[INIT_SUBSAMPLING_NCELL | [ Runtime-Parameters] -Initial-Conditions#INIT_SUBSAMPLING_NCELL]] has no effect on resetting the initial magnetic field.
514514 * To ensure that the reset magnetic field satisfies the divergence-free condition to the machine precision,
515515one must (i) use the vector potential and (ii) ensure that the reset fields do not touch any coarse-fine
516516AMR interfaces. Supporting resetting a divergence-free magnetic field across coarse-fine AMR interfaces
@@ -525,7 +525,7 @@ will be implemented in the future.
525525* ** Function Pointer:**
526526` Flu_ResetByUser_Func_Ptr` , ` MHD_ResetByUser_BField_Ptr` , ` MHD_ResetByUser_VecPot_Ptr`
527527* ** Runtime Option:**
528- [[OPT__RESET_FLUID | Runtime-Parameters: -Hydro#OPT__RESET_FLUID]], [[OPT__RESET_FLUID_INIT | Runtime-Parameters: -Hydro#OPT__RESET_FLUID_INIT]]
528+ [[OPT__RESET_FLUID | [ Runtime-Parameters] -Hydro#OPT__RESET_FLUID]], [[OPT__RESET_FLUID_INIT | [ Runtime-Parameters] -Hydro#OPT__RESET_FLUID_INIT]]
529529* ** Example:**
530530` src/Fluid/Flu_ResetByUser.cpp` , ` src/Model_Hydro/MHD_ResetByUser.cpp` , ` src/TestProblem/Hydro/BlastWave/MHD_ResetByUser_BlastWave.cpp`
531531
@@ -537,7 +537,7 @@ Perform user-specified simulation diagnostics.
537537* ** Function Pointer:**
538538` Aux_Record_User_Ptr`
539539* ** Runtime Option:**
540- [[OPT__RECORD_USER | Runtime-Parameters: -Miscellaneous#OPT__RECORD_USER]]
540+ [[OPT__RECORD_USER | [ Runtime-Parameters] -Miscellaneous#OPT__RECORD_USER]]
541541* ** Example:**
542542` src/Auxiliary/Aux_Record_User.cpp`
543543
@@ -582,7 +582,7 @@ for details.
582582* ** Function Pointer:**
583583 * ` Init_ExtAcc_Ptr`
584584* ** Runtime Option:**
585- [[OPT__EXT_ACC | Runtime-Parameters: -Gravity#OPT__EXT_ACC]]
585+ [[OPT__EXT_ACC | [ Runtime-Parameters] -Gravity#OPT__EXT_ACC]]
586586* ** Example:**
587587 * ` src/TestProblem/Hydro/Plummer/Init_TestProb_Hydro_Plummer.cpp`
588588 * ` src/TestProblem/Hydro/Plummer/ExtAcc_Plummer.cpp`
@@ -598,7 +598,7 @@ for details.
598598* ** Function Pointer:**
599599 * ` Init_ExtPot_Ptr`
600600* ** Runtime Option:**
601- [[OPT__EXT_POT | Runtime-Parameters: -Gravity#OPT__EXT_POT]]
601+ [[OPT__EXT_POT | [ Runtime-Parameters] -Gravity#OPT__EXT_POT]]
602602* ** Example:**
603603 * ` src/TestProblem/Hydro/Plummer/Init_TestProb_Hydro_Plummer.cpp`
604604 * ` src/TestProblem/Hydro/Plummer/ExtPot_Plummer.cpp`
@@ -612,20 +612,20 @@ Add a user-specified equation of state. See [[here | equation-of-state]] for det
612612 * ` EoS_Init_Ptr`
613613 * ` Eos_End_Ptr`
614614* ** Compilation Option:**
615- [[--eos | Installation: -Option-List#--eos]]
615+ [[--eos | [ Installation] -Option-List#--eos]]
616616* ** Example:**
617617 * ` src/EoS/User_Template`
618618 * ` src/EoS/Gamma`
619619
620620# ## Feedback
621621* ** Description:**
622- Add a user-specified feedback. See [[FB_USER | Runtime-Parameters: -Feedback#FB_USER]] for details.
622+ Add a user-specified feedback. See [[FB_USER | [ Runtime-Parameters] -Feedback#FB_USER]] for details.
623623* ** Function Pointer:**
624624 * ` FB_Init_User_Ptr`
625625* ** Compilation Option:**
626- [[--feedback | Installation: -Option-List#--feedback]]
626+ [[--feedback | [ Installation] -Option-List#--feedback]]
627627* ** Runtime Option:**
628- [[FB_USER | Runtime-Parameters: -Feedback#FB_USER]]
628+ [[FB_USER | [ Runtime-Parameters] -Feedback#FB_USER]]
629629* ** Example:**
630630 * ` src/TestProblem/Hydro/Plummer/FB_Plummer.cpp`
631631
@@ -637,7 +637,7 @@ Store user-specified variables in HDF5 snapshots.
637637* ** Function Pointer:**
638638 * ` Output_HDF5_UserPara_Ptr`
639639* ** Compilation Option:**
640- [[SUPPORT_HDF5 | Installation: Simulation-Options#SUPPORT_HDF5 ]]
640+ [[--hdf5 | [ Installation]-Option-Lists#--hdf5 ]]
641641* ** Runtime Option:**
642642None
643643* ** Example:**
0 commit comments