physics_generic_mod Module Reference

constructor for physics class More...

Functions/Subroutines

subroutine new_physics (Physics, Mesh, config, IO)
 allocate and initialize new physics class More...
 

Detailed Description

constructor for physics class

Author
Manuel Jung

This module allocates the physics class and decides which specific physics to use from the config.

Function/Subroutine Documentation

◆ new_physics()

subroutine physics_generic_mod::new_physics ( class(physics_base), allocatable  Physics,
class(mesh_base), intent(in)  Mesh,
type(dict_typ), pointer  config,
type(dict_typ), pointer  IO 
)

allocate and initialize new physics class

Definition at line 56 of file physics_generic.f90.