Average Interpolation of flow quantities between different grid levels
Interpolate auxiliary field from fine source to coarse target
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
type(tem_stencilHeader_type), | intent(in) | :: | stencil | stencil header |
||
real(kind=rk), | intent(in) | :: | sVal(:) | State vector of SOURCE FLUID elements |
||
real(kind=rk), | intent(inout) | :: | tVal(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
integer, | intent(in) | :: | nScalars | number of scalars to interpolate |
Average interpolation of ghostFromFiner The interpolation procedure used in this routine is:\n 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(mus_field_prop_type), | intent(in), | target | :: | fieldProp(:) | Array of field properties (fluid or species) |
|
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
real(kind=rk), | intent(in) | :: | sState(:) | State vector of SOURCE FLUID elements |
||
integer, | intent(in) | :: | sNeigh(:) | |||
integer, | intent(in) | :: | snSize | |||
real(kind=rk), | intent(inout) | :: | sAuxField(:) | AuxField variable to read rho and vel from source elements |
||
real(kind=rk), | intent(inout) | :: | tState(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | tNeigh(:) | |||
integer, | intent(in) | :: | tnSize | |||
type(mus_scheme_layout_type), | intent(in) | :: | layout | the layout used |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
type(mus_physics_type), | intent(in) | :: | physics | physics type to convert lattice to physics SI unit and vice versa Todo: This can be replaced by scale factor by level |
||
type(tem_time_type), | intent(in) | :: | time | time required to compute viscosity on target element barycenter |
||
type(tem_varSys_type), | intent(in) | :: | varSys | scheme variable system |
||
type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) | position of all derive variable in varSys for all fields |
Average interpolation of ghostFromFiner The interpolation procedure used in this routine is:\n 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(mus_field_prop_type), | intent(in), | target | :: | fieldProp(:) | Array of field properties (fluid or species) |
|
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
real(kind=rk), | intent(in) | :: | sState(:) | State vector of SOURCE FLUID elements |
||
integer, | intent(in) | :: | sNeigh(:) | |||
integer, | intent(in) | :: | snSize | |||
real(kind=rk), | intent(inout) | :: | sAuxField(:) | AuxField variable to read rho and vel from source elements |
||
real(kind=rk), | intent(inout) | :: | tState(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | tNeigh(:) | |||
integer, | intent(in) | :: | tnSize | |||
type(mus_scheme_layout_type), | intent(in) | :: | layout | the layout used |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
type(mus_physics_type), | intent(in) | :: | physics | physics type to convert lattice to physics SI unit and vice versa Todo: This can be replaced by scale factor by level |
||
type(tem_time_type), | intent(in) | :: | time | time required to compute viscosity on target element barycenter |
||
type(tem_varSys_type), | intent(in) | :: | varSys | scheme variable system |
||
type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) | position of all derive variable in varSys for all fields |
Average interpolation of ghostFromFiner The interpolation procedure used in this routine is:\n 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(mus_field_prop_type), | intent(in), | target | :: | fieldProp(:) | Array of field properties (fluid or species) |
|
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
real(kind=rk), | intent(in) | :: | sState(:) | State vector of SOURCE FLUID elements |
||
integer, | intent(in) | :: | sNeigh(:) | |||
integer, | intent(in) | :: | snSize | |||
real(kind=rk), | intent(inout) | :: | sAuxField(:) | AuxField variable to read rho and vel from source elements |
||
real(kind=rk), | intent(inout) | :: | tState(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | tNeigh(:) | |||
integer, | intent(in) | :: | tnSize | |||
type(mus_scheme_layout_type), | intent(in) | :: | layout | the layout used |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
type(mus_physics_type), | intent(in) | :: | physics | physics type to convert lattice to physics SI unit and vice versa Todo: This can be replaced by scale factor by level |
||
type(tem_time_type), | intent(in) | :: | time | time required to compute viscosity on target element barycenter |
||
type(tem_varSys_type), | intent(in) | :: | varSys | scheme variable system |
||
type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) | position of all derive variable in varSys for all fields |
Average interpolation of ghostFromFiner The interpolation procedure used in this routine is:\n 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(mus_field_prop_type), | intent(in), | target | :: | fieldProp(:) | Array of field properties (fluid or species) |
|
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
real(kind=rk), | intent(in) | :: | sState(:) | State vector of SOURCE FLUID elements |
||
integer, | intent(in) | :: | sNeigh(:) | |||
integer, | intent(in) | :: | snSize | |||
real(kind=rk), | intent(inout) | :: | sAuxField(:) | AuxField variable to read rho and vel from source elements |
||
real(kind=rk), | intent(inout) | :: | tState(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | tNeigh(:) | |||
integer, | intent(in) | :: | tnSize | |||
type(mus_scheme_layout_type), | intent(in) | :: | layout | the layout used |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
type(mus_physics_type), | intent(in) | :: | physics | physics type to convert lattice to physics SI unit and vice versa Todo: This can be replaced by scale factor by level |
||
type(tem_time_type), | intent(in) | :: | time | time required to compute viscosity on target element barycenter |
||
type(tem_varSys_type), | intent(in) | :: | varSys | scheme variable system |
||
type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) | position of all derive variable in varSys for all fields |
Fill coarse target ghost from fine source fluid by average interpolation. 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(mus_field_prop_type), | intent(in), | target | :: | fieldProp(:) | Array of field properties (fluid or species) |
|
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
real(kind=rk), | intent(in) | :: | sState(:) | State vector of SOURCE FLUID elements |
||
integer, | intent(in) | :: | sNeigh(:) | |||
integer, | intent(in) | :: | snSize | |||
real(kind=rk), | intent(inout) | :: | sAuxField(:) | AuxField variable to read rho and vel from source elements |
||
real(kind=rk), | intent(inout) | :: | tState(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | tNeigh(:) | |||
integer, | intent(in) | :: | tnSize | |||
type(mus_scheme_layout_type), | intent(in) | :: | layout | the layout used |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
type(mus_physics_type), | intent(in) | :: | physics | physics type to convert lattice to physics SI unit and vice versa Todo: This can be replaced by scale factor by level |
||
type(tem_time_type), | intent(in) | :: | time | time required to compute viscosity on target element barycenter |
||
type(tem_varSys_type), | intent(in) | :: | varSys | scheme variable system |
||
type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) | position of all derive variable in varSys for all fields |
Fill coarse target ghost from fine source fluid by average interpolation. 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(mus_field_prop_type), | intent(in), | target | :: | fieldProp(:) | Array of field properties (fluid or species) |
|
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
real(kind=rk), | intent(in) | :: | sState(:) | State vector of SOURCE FLUID elements |
||
integer, | intent(in) | :: | sNeigh(:) | |||
integer, | intent(in) | :: | snSize | |||
real(kind=rk), | intent(inout) | :: | sAuxField(:) | AuxField variable to read rho and vel from source elements |
||
real(kind=rk), | intent(inout) | :: | tState(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | tNeigh(:) | |||
integer, | intent(in) | :: | tnSize | |||
type(mus_scheme_layout_type), | intent(in) | :: | layout | the layout used |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
type(mus_physics_type), | intent(in) | :: | physics | physics type to convert lattice to physics SI unit and vice versa Todo: This can be replaced by scale factor by level |
||
type(tem_time_type), | intent(in) | :: | time | time required to compute viscosity on target element barycenter |
||
type(tem_varSys_type), | intent(in) | :: | varSys | scheme variable system |
||
type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) | position of all derive variable in varSys for all fields |
Interpolate auxiliary field from coarse source to fine target
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
type(tem_stencilHeader_type), | intent(in) | :: | stencil | stencil header |
||
real(kind=rk), | intent(in) | :: | sVal(:) | State vector of SOURCE FLUID elements |
||
real(kind=rk), | intent(inout) | :: | tVal(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
integer, | intent(in) | :: | nScalars | number of scalars to interpolate |
Linear interpolation of ghostFromFiner 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(mus_field_prop_type), | intent(in), | target | :: | fieldProp(:) | Array of field properties (fluid or species) |
|
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
real(kind=rk), | intent(in) | :: | sState(:) | State vector of SOURCE FLUID elements |
||
integer, | intent(in) | :: | sNeigh(:) | |||
integer, | intent(in) | :: | snSize | |||
real(kind=rk), | intent(inout) | :: | sAuxField(:) | AuxField variable to read rho and vel from source elements |
||
real(kind=rk), | intent(inout) | :: | tState(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | tNeigh(:) | |||
integer, | intent(in) | :: | tnSize | |||
type(mus_scheme_layout_type), | intent(in) | :: | layout | the layout used |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
type(mus_physics_type), | intent(in) | :: | physics | physics type to convert lattice to physics SI unit and vice versa Todo: This can be replaced by scale factor by level |
||
type(tem_time_type), | intent(in) | :: | time | time required to compute viscosity on target element barycenter |
||
type(tem_varSys_type), | intent(in) | :: | varSys | scheme variable system |
||
type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) | position of all derive variable in varSys for all fields |
Linear interpolation of ghostFromFiner 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(mus_field_prop_type), | intent(in), | target | :: | fieldProp(:) | Array of field properties (fluid or species) |
|
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
real(kind=rk), | intent(in) | :: | sState(:) | State vector of SOURCE FLUID elements |
||
integer, | intent(in) | :: | sNeigh(:) | |||
integer, | intent(in) | :: | snSize | |||
real(kind=rk), | intent(inout) | :: | sAuxField(:) | AuxField variable to read rho and vel from source elements |
||
real(kind=rk), | intent(inout) | :: | tState(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | tNeigh(:) | |||
integer, | intent(in) | :: | tnSize | |||
type(mus_scheme_layout_type), | intent(in) | :: | layout | the layout used |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
type(mus_physics_type), | intent(in) | :: | physics | physics type to convert lattice to physics SI unit and vice versa Todo: This can be replaced by scale factor by level |
||
type(tem_time_type), | intent(in) | :: | time | time required to compute viscosity on target element barycenter |
||
type(tem_varSys_type), | intent(in) | :: | varSys | scheme variable system |
||
type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) | position of all derive variable in varSys for all fields |
Linear interpolation of ghostFromFiner 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(mus_field_prop_type), | intent(in), | target | :: | fieldProp(:) | Array of field properties (fluid or species) |
|
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
real(kind=rk), | intent(in) | :: | sState(:) | State vector of SOURCE FLUID elements |
||
integer, | intent(in) | :: | sNeigh(:) | |||
integer, | intent(in) | :: | snSize | |||
real(kind=rk), | intent(inout) | :: | sAuxField(:) | AuxField variable to read rho and vel from source elements |
||
real(kind=rk), | intent(inout) | :: | tState(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | tNeigh(:) | |||
integer, | intent(in) | :: | tnSize | |||
type(mus_scheme_layout_type), | intent(in) | :: | layout | the layout used |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
type(mus_physics_type), | intent(in) | :: | physics | physics type to convert lattice to physics SI unit and vice versa Todo: This can be replaced by scale factor by level |
||
type(tem_time_type), | intent(in) | :: | time | time required to compute viscosity on target element barycenter |
||
type(tem_varSys_type), | intent(in) | :: | varSys | scheme variable system |
||
type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) | position of all derive variable in varSys for all fields |
Linear interpolation of ghostFromFiner 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(mus_field_prop_type), | intent(in), | target | :: | fieldProp(:) | Array of field properties (fluid or species) |
|
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
real(kind=rk), | intent(in) | :: | sState(:) | State vector of SOURCE FLUID elements |
||
integer, | intent(in) | :: | sNeigh(:) | |||
integer, | intent(in) | :: | snSize | |||
real(kind=rk), | intent(inout) | :: | sAuxField(:) | AuxField variable to read rho and vel from source elements |
||
real(kind=rk), | intent(inout) | :: | tState(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | tNeigh(:) | |||
integer, | intent(in) | :: | tnSize | |||
type(mus_scheme_layout_type), | intent(in) | :: | layout | the layout used |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
type(mus_physics_type), | intent(in) | :: | physics | physics type to convert lattice to physics SI unit and vice versa Todo: This can be replaced by scale factor by level |
||
type(tem_time_type), | intent(in) | :: | time | time required to compute viscosity on target element barycenter |
||
type(tem_varSys_type), | intent(in) | :: | varSys | scheme variable system |
||
type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) | position of all derive variable in varSys for all fields |
Linear interpolation of ghostFromFiner 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(mus_field_prop_type), | intent(in), | target | :: | fieldProp(:) | Array of field properties (fluid or species) |
|
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
real(kind=rk), | intent(in) | :: | sState(:) | State vector of SOURCE FLUID elements |
||
integer, | intent(in) | :: | sNeigh(:) | |||
integer, | intent(in) | :: | snSize | |||
real(kind=rk), | intent(inout) | :: | sAuxField(:) | AuxField variable to read rho and vel from source elements |
||
real(kind=rk), | intent(inout) | :: | tState(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | tNeigh(:) | |||
integer, | intent(in) | :: | tnSize | |||
type(mus_scheme_layout_type), | intent(in) | :: | layout | the layout used |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
type(mus_physics_type), | intent(in) | :: | physics | physics type to convert lattice to physics SI unit and vice versa Todo: This can be replaced by scale factor by level |
||
type(tem_time_type), | intent(in) | :: | time | time required to compute viscosity on target element barycenter |
||
type(tem_varSys_type), | intent(in) | :: | varSys | scheme variable system |
||
type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) | position of all derive variable in varSys for all fields |
Linear interpolation of ghostFromFiner 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mus_interpolation_method_type), | intent(inout) | :: | method | |||
type(mus_field_prop_type), | intent(in), | target | :: | fieldProp(:) | Array of field properties (fluid or species) |
|
type(tem_levelDesc_type), | intent(in) | :: | tLevelDesc | level descriptor on target level |
||
integer, | intent(in) | :: | level | my refinement level |
||
real(kind=rk), | intent(in) | :: | sState(:) | State vector of SOURCE FLUID elements |
||
integer, | intent(in) | :: | sNeigh(:) | |||
integer, | intent(in) | :: | snSize | |||
real(kind=rk), | intent(inout) | :: | sAuxField(:) | AuxField variable to read rho and vel from source elements |
||
real(kind=rk), | intent(inout) | :: | tState(:) | State vector of TARGET GHOST elements |
||
integer, | intent(in) | :: | tNeigh(:) | |||
integer, | intent(in) | :: | tnSize | |||
type(mus_scheme_layout_type), | intent(in) | :: | layout | the layout used |
||
integer, | intent(in) | :: | nTargets | List of target elements ( their position in depSource list ) |
||
integer, | intent(in) | :: | targetList(nTargets) | |||
type(mus_physics_type), | intent(in) | :: | physics | physics type to convert lattice to physics SI unit and vice versa Todo: This can be replaced by scale factor by level |
||
type(tem_time_type), | intent(in) | :: | time | time required to compute viscosity on target element barycenter |
||
type(tem_varSys_type), | intent(in) | :: | varSys | scheme variable system |
||
type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) | position of all derive variable in varSys for all fields |