mus_finalize Subroutine

public subroutine mus_finalize(scheme, params, particleGroup, 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

Type IntentOptional Attributes Name
type(mus_scheme_type), intent(inout) :: scheme

scheme type

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

Global parameters

type(mus_particle_group_type), intent(inout) :: particleGroup

Particle data

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