atl_materialFun_module Module


Uses

  • module~~atl_materialfun_module~~UsesGraph module~atl_materialfun_module atl_materialFun_module aot_out_module aot_out_module module~atl_materialfun_module->aot_out_module env_module env_module module~atl_materialfun_module->env_module tem_varSys_module tem_varSys_module module~atl_materialfun_module->tem_varSys_module

Used by

  • module~~atl_materialfun_module~~UsedByGraph module~atl_materialfun_module atl_materialFun_module module~atl_eqn_acoustic_module atl_eqn_acoustic_module module~atl_eqn_acoustic_module->module~atl_materialfun_module module~atl_eqn_heat_module atl_eqn_heat_module module~atl_eqn_heat_module->module~atl_materialfun_module module~atl_eqn_lineareuler_module atl_eqn_LinearEuler_module module~atl_eqn_lineareuler_module->module~atl_materialfun_module module~atl_eqn_maxwell_var_module atl_eqn_maxwell_var_module module~atl_eqn_maxwell_var_module->module~atl_materialfun_module module~atl_eqn_maxwelldivcorr_var_module atl_eqn_maxwelldivcorr_var_module module~atl_eqn_maxwelldivcorr_var_module->module~atl_materialfun_module module~atl_equation_init_module atl_equation_init_module module~atl_equation_init_module->module~atl_materialfun_module module~atl_equation_module atl_equation_module module~atl_equation_module->module~atl_materialfun_module module~atl_materialini_module atl_materialIni_module module~atl_materialini_module->module~atl_materialfun_module

Derived Types

type, public ::  atl_mode_reduction_type

PV 20150827 Rename atl_materialFun_type to atl_material_type to stay consistent with atl_source_type Contains settings for mode reduction. Mode reduction is used to decrease computational effort for elements where a calculation with higher modes doesn"t increase the result's resolution, because material is equal over the element's volume and faces.

Read more…

Components

Type Visibility Attributes Name Initial
logical, public :: enabled = .false.

Indicates whether the mode reduction is enabled at all.

real(kind=rk), public :: threshold = 1.0_rk

The threshold to decide whether a reduction is possible. Values of the material at matPos above threshold indicate a possible reduction.

integer, public :: matPos

The position, if present, of the material within the materials that is used to determine whether mode reduction is possible or not. -1 if not available.

type, public ::  atl_materialFun_type

Generic description of material property functions.

Components

Type Visibility Attributes Name Initial
integer, public :: nMat

The number of material parameters used by the equation system.

integer, public, allocatable :: nScalars(:)

Number of scalar entries to describe the material.

integer, public, allocatable :: matvar_pos(:)

The indizes of variables in the global varSys that are used as material's, penalization's or whatever's data sources.

Read more…
logical, public :: is_transient

Flag to indicate whether the material may be varying over time and thus requires updates over time.

character(len=labelLen), public, allocatable :: matParNames(:)

The names of the material parameter.

Read more…
type(atl_mode_reduction_type), public :: mode_reduction

Settings for mode reduction, i.e. reducing the modes where possible to decrease computational effort.


Functions

private function stripMatPrefix(materialName) result(strippedName)

Strips the prefix from material variables created by the solver when adding material to the variable system.

Arguments

Type IntentOptional Attributes Name
character(len=labelLen), intent(in) :: materialName

Return Value character(len=labelLen)


Subroutines

public subroutine atl_dump_materialFun(conf, material, key, varSys)

Dump material description to lua file

Arguments

Type IntentOptional Attributes Name
type(aot_out_type) :: conf
type(atl_materialFun_type), intent(in) :: material
character(len=*), intent(in) :: key
type(tem_varSys_type), intent(in) :: varSys

The variable system that contains the material variables