mus_build_varSys Subroutine

public subroutine mus_build_varSys(varSys, solverData, schemeHeader, stencil, nFields, derVarPos, luaVar, field, globSrc, poss_srcVar, st_funList)

Build global variable system for Musubi

Arguments

Type IntentOptional Attributes Name
type(tem_varSys_type), intent(inout) :: varSys

global variable system

type(mus_varSys_solverData_type), intent(in), target :: solverData

Contains pointer to solver data types

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

identifier of the scheme

type(tem_stencilHeader_type), intent(in) :: stencil

Compute stencil header

integer, intent(in) :: nFields

number of fields

type(mus_derVarPos_type), intent(out), allocatable :: derVarPos(:)

store position of each variable for each field and mixture size: nFields+1

type(tem_variable_type), intent(in), allocatable :: luaVar(:)

additional variable defined in the lua file. Function pointer for this variables depends on its varType.

type(mus_field_type), intent(inout) :: field(:)

Field contains sources and boundary infos

type(mus_source_type), intent(inout) :: globSrc

global source

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

possible source variables

type(tem_st_fun_linkedList_type), intent(out) :: st_funList

contains spacetime functions of all variables