kim-api 2.3.0+AppleClang.AppleClang.GNU
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
Loading...
Searching...
No Matches
Public Member Functions | List of all members
kim_length_unit_module::kim_from_string Interface Reference

Create a LengthUnit object corresponding to the provided string. If the string does not match one of the values defined by the KIM API, then an "unknown" object is generated. More...

Public Member Functions

recursive subroutine kim_length_unit_from_string (string, length_unit)
 Create a LengthUnit object corresponding to the provided string. If the string does not match one of the values defined by the KIM API, then an "unknown" object is generated.
 

Detailed Description

Create a LengthUnit object corresponding to the provided string. If the string does not match one of the values defined by the KIM API, then an "unknown" object is generated.

See also
KIM::LengthUnit::LengthUnit(std::string const &), KIM_LengthUnit_FromString
Since
2.0

Definition at line 160 of file kim_length_unit_module.f90.

Member Function/Subroutine Documentation

◆ kim_length_unit_from_string()

recursive subroutine kim_length_unit_module::kim_from_string::kim_length_unit_from_string ( character(len=*, kind=c_char), intent(in)  string,
type(kim_length_unit_type), intent(out)  length_unit 
)

Create a LengthUnit object corresponding to the provided string. If the string does not match one of the values defined by the KIM API, then an "unknown" object is generated.

See also
KIM::LengthUnit::LengthUnit(std::string const &), KIM_LengthUnit_FromString
Since
2.0

Definition at line 228 of file kim_length_unit_module.f90.


The documentation for this interface was generated from the following file: