str_from_num Interface

public interface str_from_num

Generic interface for writing a number to a string. The calling syntax is str_from_num(num, frmt) where number is a real number or an integer, format is the format desired, e.g., e15.6, i5, etc.

Calls

interface~~str_from_num~~CallsGraph interface~str_from_num str_from_num proc~str_from_ilnum str_from_ilnum interface~str_from_num->proc~str_from_ilnum proc~str_from_inum str_from_inum interface~str_from_num->proc~str_from_inum proc~str_from_dnum str_from_dnum interface~str_from_num->proc~str_from_dnum proc~str_trimzero str_trimzero proc~str_from_dnum->proc~str_trimzero

Called by

interface~~str_from_num~~CalledByGraph interface~str_from_num str_from_num proc~bond_fene bond_fene proc~bond_fene->interface~str_from_num proc~node_asstr node_asstr proc~node_asstr->interface~str_from_num proc~aabb_print aabb_print proc~aabb_print->interface~str_from_num proc~control_write control_write proc~control_write->interface~str_from_num proc~bond_kg bond_kg proc~bond_kg->interface~str_from_num proc~bond_ms bond_ms proc~bond_ms->interface~str_from_num interface~node_asstr node_asstr interface~node_asstr->proc~node_asstr proc~ia_get_bond_force ia_get_bond_force proc~ia_get_bond_force->proc~bond_fene proc~ia_get_bond_force->proc~bond_kg proc~ia_get_bond_force->proc~bond_ms proc~ia_add_bond_forces ia_add_bond_forces proc~ia_add_bond_forces->proc~ia_get_bond_force proc~ia_calc_forces ia_calc_forces proc~ia_calc_forces->proc~ia_add_bond_forces proc~calc_drift calc_drift proc~calc_drift->proc~ia_calc_forces proc~integrate_em integrate_em proc~integrate_em->proc~calc_drift proc~se_fval se_fval proc~se_fval->proc~calc_drift proc~bds_run bds_run proc~bds_run->proc~integrate_em proc~run run proc~run->proc~bds_run program~main main program~main->proc~run

Contents


Module Procedures

private pure function str_from_inum(num, frmt) result(str)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: num
character(len=*), intent(in), optional :: frmt

Return Value character(len=:), allocatable

private pure function str_from_ilnum(num, frmt) result(str)

Arguments

Type IntentOptional AttributesName
integer(kind=ip_long), intent(in) :: num
character(len=*), intent(in), optional :: frmt

Return Value character(len=:), allocatable

private pure function str_from_dnum(num, frmt) result(str)

Arguments

Type IntentOptional AttributesName
real(kind=rp), intent(in) :: num
character(len=*), intent(in), optional :: frmt

Return Value character(len=:), allocatable