mus_program_module Module

This module contains data types and routines used by musubi main program i.e unifying routines for apesmate


Uses

Used by

  • module~~mus_program_module~~UsedByGraph module~mus_program_module mus_program_module program~musubi musubi program~musubi->module~mus_program_module

Contents


Subroutines

public subroutine mus_initialize(scheme, geometry, params, control, solverData)

This routine load musubi configuration file and initialize construction flow, auxilary and main control routines

Read more…

Arguments

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

scheme type

type(mus_geom_type), intent(inout) :: geometry

Treelmesh data

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

Global parameters

type(mus_control_type), intent(out) :: control

control routine

type(mus_varSys_solverData_type), target:: solverData

contains pointer to scheme, physics types. passed to init_Scheme to build varSys

public subroutine mus_solve(scheme, geometry, params, control, solverData, adapt)

This routine does the main musubi computation loop

Arguments

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

scheme type

type(mus_geom_type), intent(inout) :: geometry

Treelmesh data

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

Global parameters

type(mus_control_type), intent(in) :: control

control routine

type(mus_varSys_solverData_type), target:: solverData

contains pointer to scheme, physics types

type(tem_adapt_type), intent(inout) :: adapt

mesh adaptation

public subroutine mus_finalize(scheme, params, tree, levelPointer, nBCs, globIBM)

Do final check on check on total density, Close auxiliary stuff such as restart and the tracker, finalize treelm, dump timing and finialize mpi with fin_env

Arguments

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

scheme type

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

Global parameters

type(treelmesh_type), intent(inout) :: tree

geometry infomation

integer, intent(in) :: levelPointer(:)

global information

integer, intent(in) :: nBCs

Number of BC

type(mus_IBM_globType), intent(inout) :: globIBM

global IBM datatype incl. array of IBM datatypes

private subroutine dump_level_timing(minLevel, maxLevel, pdf, timingFile, proc, DomSize, revision, simName)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: minLevel
integer, intent(in) :: maxLevel
type(pdf_data_type), intent(in) :: pdf(minLevel:maxLevel)
character(len=*), intent(in) :: timingFile
type(tem_comm_env_type), intent(in) :: proc
integer(kind=long_k), intent(in) :: DomSize
character(len=*), intent(in) :: revision
character(len=*), intent(in) :: simName