foodie_utils Module

  • Uses:

  • penf
module~~foodie_utils~~UsesGraph module~foodie_utils foodie_utils penf penf penf->module~foodie_utils
Help

FOODIE utils: module of (possible) unrelated utilities of FOODIE library.



Functions

public elemental function is_admissible(n, adm_range)

Check if the queried number n is admitted by the admissible range list adm_range.

Arguments

Type IntentOptional AttributesName
integer(kind=I_P), intent(in) :: n

Number queried.

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

Admissible range string.

Return Value logical

Is true is the number is in adm_range.


Subroutines

private pure subroutine tokenize(string, delimiter, toks, Nt)

Tokenize a string in order to parse it.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: string

String to be tokenized.

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

Delimiter of tokens.

character(len=len(string)), intent(out), allocatable:: toks(:)

Tokens.

integer(kind=I_P), intent(out), optional :: Nt

Number of tokens.