mus_load_fields Subroutine

public subroutine mus_load_fields(me, varSys, nFields, mixture, nernstPlanck, bc_prop, conf, parent, minLevel, maxLevel, schemeHeader, poss_srcVar, physics, scaling, layout, isMusHvs)

Subroutine to load the field table from the lua configuration file.

If field table is not defined than load bc, ic, fluid, species from scheme table. If scheme table is not defined than load field variables from config parent.

Arguments

Type IntentOptional Attributes Name
type(mus_field_type), intent(inout) :: me(:)

array of field type

type(tem_varSys_type), intent(inout) :: varSys

Global variable system required to append annoymous source and boundary variables

integer, intent(in) :: nFields
type(mus_mixture_type), intent(out) :: mixture

contains mixture information

type(mus_nernstPlanck_type), intent(out) :: nernstPlanck

contains solvent information

type(tem_BC_prop_type), intent(in) :: bc_prop

boundary data from mesh

type(flu_State), intent(inout) :: conf

flu state

integer, intent(in), optional :: parent

parent handle if scheme table is defined

integer, intent(in) :: minLevel

global pdf info

integer, intent(in) :: maxLevel

global pdf info

type(mus_scheme_header_type), intent(in) :: schemeHeader

identifier of the scheme

type(tem_possible_variable_type), intent(in) :: poss_srcVar

possible source variables

type(mus_physics_type), intent(in) :: physics

physics type to convert physics to lattice unit or vice versa

character(len=labelLen), intent(in) :: scaling

scaling type

type(mus_scheme_layout_type), intent(in) :: layout

fluid stencil info

logical, intent(in), optional :: isMusHvs

Logic to not to load tracking and variable table if this routine is called from mus_hvs_config_load. Default is False