m_MEF90_Utils Module


Uses


Functions

public function MEF90FileExtension(s)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: s

Return Value character(len=MEF90MXSTRLEN)

public function MEF90FilePrefix(s)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: s

Return Value character(len=MEF90MXSTRLEN)

public function MEF90StrCount(s, c)

Author
Blaise Bourdin (2025, bourdin@mcmaster.ca)

MEF90StrCount: counts the number of occurrences of a substring in a string

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: s
character(len=*), intent(in) :: c

Return Value integer


Subroutines

public subroutine MEF90ISAllGatherMerge(Comm, is, ierr)

Author
Blaise Bourdin (2013-2014, bourdin@lsu.edu) Blaise Bourdin (2022, bourdin@mcmaster.ca)

MEF90ISAllGatherMerge: Merge all values of an type(tIS), deleting duplicates

Arguments

Type IntentOptional Attributes Name
integer(kind=C_INT32_T), intent(in) :: Comm
type(tIS), intent(inout) :: is
integer(kind=C_INT32_T), intent(inout) :: ierr

public subroutine MEF90StrTokenize(str, delim, tokens)

Author
Blaise Bourdin (2025, bourdin@mcmaster.ca)

MEF90StrTokenize: Breaks a string into an array of substrings based on a delimiter

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str
character(len=*), intent(in) :: delim
character(len=MEF90MXSTRLEN), dimension(:), allocatable :: tokens