mus_test_module Module

This module provides the definition and methods for BGK advection relaxation scheme.


Uses

  • module~~mus_test_module~~UsesGraph module~mus_test_module mus_test_module module~mus_scheme_layout_module mus_scheme_layout_module module~mus_test_module->module~mus_scheme_layout_module module~mus_dervarpos_module mus_derVarPos_module module~mus_test_module->module~mus_dervarpos_module module~tem_varsys_module tem_varSys_module module~mus_test_module->module~tem_varsys_module module~env_module env_module module~mus_test_module->module~env_module module~mus_param_module mus_param_module module~mus_test_module->module~mus_param_module module~mus_field_prop_module mus_field_prop_module module~mus_test_module->module~mus_field_prop_module module~mus_scheme_layout_module->module~env_module module~tem_grow_array_module tem_grow_array_module module~mus_scheme_layout_module->module~tem_grow_array_module module~tem_tools_module tem_tools_module module~mus_scheme_layout_module->module~tem_tools_module module~tem_logging_module tem_logging_module module~mus_scheme_layout_module->module~tem_logging_module module~tem_param_module tem_param_module module~mus_scheme_layout_module->module~tem_param_module module~tem_comm_env_module tem_comm_env_module module~mus_scheme_layout_module->module~tem_comm_env_module mpi mpi module~mus_scheme_layout_module->mpi module~aotus_module aotus_module module~mus_scheme_layout_module->module~aotus_module module~mus_moments_type_module mus_moments_type_module module~mus_scheme_layout_module->module~mus_moments_type_module module~tem_aux_module tem_aux_module module~mus_scheme_layout_module->module~tem_aux_module module~tem_stencil_module tem_stencil_module module~mus_scheme_layout_module->module~tem_stencil_module module~aot_table_module aot_table_module module~mus_scheme_layout_module->module~aot_table_module module~tem_dyn_array_module tem_dyn_array_module module~mus_scheme_layout_module->module~tem_dyn_array_module module~aot_out_module aot_out_module module~mus_scheme_layout_module->module~aot_out_module module~mus_dervarpos_module->module~mus_scheme_layout_module module~mus_dervarpos_module->module~tem_varsys_module module~mus_dervarpos_module->module~env_module module~mus_dervarpos_module->module~tem_aux_module module~mus_dervarpos_module->module~tem_stencil_module module~mus_param_module->module~env_module module~mus_param_module->module~tem_tools_module module~mus_param_module->module~tem_logging_module module~mus_abortcriteria_module mus_abortCriteria_module module~mus_param_module->module~mus_abortcriteria_module module~tem_general_module tem_general_module module~mus_param_module->module~tem_general_module module~mus_param_module->module~aotus_module module~mus_physics_module mus_physics_module module~mus_param_module->module~mus_physics_module module~mus_param_module->module~aot_out_module module~mus_field_prop_module->module~env_module module~mus_species_module mus_species_module module~mus_field_prop_module->module~mus_species_module module~mus_field_prop_module->module~tem_logging_module module~flu_binding flu_binding module~mus_field_prop_module->module~flu_binding module~mus_field_prop_module->module~mus_physics_module module~mus_field_prop_module->module~tem_aux_module module~mus_scheme_header_module mus_scheme_header_module module~mus_field_prop_module->module~mus_scheme_header_module module~mus_poisson_module mus_poisson_module module~mus_field_prop_module->module~mus_poisson_module module~mus_field_prop_module->module~aot_out_module module~mus_fluid_module mus_fluid_module module~mus_field_prop_module->module~mus_fluid_module

Used by

  • module~~mus_test_module~~UsedByGraph module~mus_test_module mus_test_module module~mus_initfluid_module mus_initFluid_module module~mus_initfluid_module->module~mus_test_module module~mus_flow_module mus_flow_module module~mus_flow_module->module~mus_initfluid_module program~mus_harvesting mus_harvesting program~mus_harvesting->module~mus_flow_module module~mus_program_module mus_program_module module~mus_program_module->module~mus_flow_module module~mus_dynloadbal_module mus_dynLoadBal_module module~mus_program_module->module~mus_dynloadbal_module module~mus_dynloadbal_module->module~mus_flow_module program~musubi musubi program~musubi->module~mus_program_module

Contents


Subroutines

public subroutine vec_fma(fieldProp, inState, outState, auxField, neigh, nElems, nSolve, level, layout, params, varSys, derVarPos)

Testing routine which performs fused multiplication and addtion on the state variable. The calculation is simple, so that the cost is mostly due to the data transfer through the memory interface.

Read more…

Arguments

TypeIntentOptionalAttributesName
type(mus_field_prop_type), intent(in) :: fieldProp(:)

Array of field properties (fluid or species)

real(kind=rk), intent(in) :: inState(nElems*varSys%nScalars)

input pdf vector

real(kind=rk), intent(out) :: outState(nElems*varSys%nScalars)

output pdf vector

real(kind=rk), intent(inout) :: auxField(nElems*varSys%nAuxScalars)

Auxiliary field computed from pre-collision state Is updated with correct velocity field for multicomponent models

integer, intent(in) :: neigh(nElems*layout%fStencil%QQ)

connectivity vector

integer, intent(in) :: nElems

number of elements in state Array

integer, intent(in) :: nSolve

number of elements solved in kernel

integer, intent(in) :: level

current level

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

current layout

type(mus_param_type), intent(in) :: params

global parameters

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

variable system definition

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

position of derived quantities in varsys for all fields