tem_solveHead_module Module

Some auxilary routines, providing frequently needed common tasks.


Uses


Derived Types

type, public ::  tem_solveHead_type

Solver header information

Components

Type Visibility Attributes Name Initial
character(len=PathLen), public :: simName

Name of current simulation

character(len=PathLen), public :: meshFolder = ''

Mesh folder. set default to empty string

character(len=PathLen), public :: configFile = ''

main lua configfile full path. Default is set to empty string to do check on this before loading filename from command line

character(len=LabelLen), public :: solName
character(len=LabelLen), public :: version
character(len=16), public :: revision

mercurial repository revision of the solver

type(flu_State), public, allocatable :: conf(:)

aotus lua conf state to load main configuration file and solver specific lua functions as chunk

integer, public :: timerHandle

solver timer handle. use to lookup in timerData in timer_module to determine time taken for this solver

character(len=pathLen), public :: trackmem_file

Functions

public function tem_solverTag(solver) result(tag)

Function to return a solver tag (combination of solver name and version)

Arguments

Type IntentOptional Attributes Name
type(tem_solveHead_type), intent(in) :: solver

solver information

Return Value character(len=LabelLen)


Subroutines

public subroutine tem_init_solveHead(me, solName)

Routine to initialize solver head with name, version and revision number

Arguments

Type IntentOptional Attributes Name
type(tem_solveHead_type), intent(out) :: me

solver info

character(len=*), intent(in) :: solName

name of the solver