MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Data Types List
Here are the data types with brief descriptions:
[detail level 12]
 Nm_octree_mg_1d
 Nm_octree_mg_2d
 Nm_octree_mg_3d
 Nmod_convert
 Nmod_forestModule with basic grid data structures
 Nmod_ghostcells_updateUpdate ghost cells of all blocks including physical boundaries
 Nmod_mhd_physMagneto-hydrodynamics module
 Nmod_multigrid_couplingModule to couple the octree-mg library to AMRVAC. This file uses the VACPP preprocessor, but its use is kept to a minimum
 Nmod_particle_baseModule with shared functionality for all the particle movers
 Nmod_physicaldata
 Nmod_physicsThis module defines the procedures of a physics module. It contains function pointers for the various supported routines. An actual physics module has to set these pointers to its implementation of these routines
 Nmod_physics_hllc
 Nmod_physics_roe
 Nmod_radiative_coolingModule radiative cooling – add optically thin radiative cooling for HD and MHD
 Nmod_supertimesteppingGeneric supertimestepping method 1) in amrvac.par in sts_list set the following parameters which have the default values: sts_dtpar=0.9,sts_ncycles=1000,sts_method=1,sourcetype_sts=2 These parametes are general for all the methods added TODO: check if there is any need to have terms implemented with different sets of parameters, and these cannot be general anymore 2) then add programatically in the code a term with the subroutine add_sts_method This method takes as parameters a function which calculated the explicit timestep associated with the term, a subroutine which sets the source term types for the BC and the BC are generated from the variables startVar:endVar flux conservation (fixconserve) is done for the variables specified by ixChangeStart, ixChangeN, ixChangeFixC The following two steps are done in this way as in fortran it is not allowed to pass null function pointers as parameters: 3)in order to to have hooks before_first_cycle, after_last_cycle (e.g. conversion from e_tot to e_int before first sts cycle and back from e_int to e_tot after the last STS cycle for the thermal conductivity module) add them just afterwards with the subroutine set_conversion_methods_to_head 4) to add the hook for error handling (e.g check small values in the thermal conductivity module ) call set_error_handling_to_head which takes as parameter a subroutine the error handling subroutine is called before setting BC
 Nmod_thermal_conductionThermal conduction for HD and MHD Adaptation of mod_thermal_conduction for the mod_supertimestepping In order to use it set use_mhd_tc=1 (for the mhd impl) or 2 (for the hd impl) in mhd_list (for the mhd module both hd and mhd impl can be used) or use_new_hd_tc in hd_list parameters to true (for the hd module, hd implementation has to be used) The TC is set by calling one tc_init_hd_for_total_energy and tc_init_mhd_for_total_energy might The second argument: ixArray has to be [rho_,e_,mag(1)] for mhd (Be aware that the other components of the mag field are assumed consecutive) and [rho_,e_] for hd additionally when internal energy equation is solved, an additional element of this array is eaux_: the index of the internal energy variable
 Nmod_thermal_emission
 Nmod_twofl_physMagneto-hydrodynamics module
 Nmod_usr_methodsModule with all the methods that users can customize in AMRVAC