mus_applyForce_X Subroutine

private subroutine mus_applyForce_X(me, state, IBMData, layout, varPos, nScalars, nElems_fluid, convFac, time, levelDesc)

This subroutine applies the force calculated to the eulerian elements.

Arguments

Type IntentOptional Attributes Name
type(mus_IBM_type), intent(in) :: me

datatype to store the surface information

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

the state array holding the pdfs

type(mus_IBM_tmpData_type), intent(inout) :: IBMData

tmp IBMData type to be filled

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

scheme layout of the current scheme incl. array of stencils and weights

integer, intent(in) :: varPos(:)

variable positions of the state variables in the levelDesc/state vector

integer, intent(in) :: nScalars

number of scalars in the global variable system

integer, intent(in) :: nElems_fluid

number of fluid elements on this partition and level

type(mus_convertFac_type), intent(in) :: convFac

conversion factors

type(tem_time_type), intent(in) :: time

current time

type(tem_levelDesc_type), intent(in) :: levelDesc

level descriptor incl. ghost and fluid elements