modify_AuxField_of_Elem Subroutine

public subroutine modify_AuxField_of_Elem(posInTotal, scheme, auxField, iLevel, varSys, derVarPos, G_lat)

Modify the auxField of an element with posInTotal in the total list

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: posInTotal

Position of element to modify in total list

type(mus_scheme_type), intent(inout) :: scheme

Scheme

real(kind=rk), intent(inout) :: auxField(:)

output auxField array

integer, intent(in) :: iLevel

current level

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

variable system definition

type(mus_derVarPos_type), intent(in) :: derVarPos(:)

position of derived quantities in varsys

real(kind=rk), intent(in) :: G_lat(3)

Force to apply, in lattice units