kim-api 2.3.0+AppleClang.AppleClang.GNU
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
Loading...
Searching...
No Matches
Data Types | Functions/Subroutines | Variables
kim_data_type_module Module Reference

An Extensible Enumeration for the DataType's supported by the KIM API. More...

Data Types

type  kim_data_type_type
 An Extensible Enumeration for the DataType's supported by the KIM API. More...
 
interface  kim_from_string
 Create a DataType 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...
 
interface  kim_known
 Determines if the object is a quantity known to the KIM API. More...
 
interface  kim_to_string
 Converts the object to a string. More...
 

Functions/Subroutines

recursive subroutine, public kim_get_number_of_data_types (number_of_data_types)
 Get the number of standard DataType's defined by the KIM API. More...
 
recursive subroutine, public kim_get_data_type (index, data_type, ierr)
 Get the identity of each defined standard DataType. More...
 

Variables

type(kim_data_type_type), save, bind(C, name="KIM_DATA_TYPE_Integer"), public, protected kim_data_type_integer
 The standard Integer data type. More...
 
type(kim_data_type_type), save, bind(C, name="KIM_DATA_TYPE_Double"), public, protected kim_data_type_double
 The standard Double data type. More...
 

Detailed Description

An Extensible Enumeration for the DataType's supported by the KIM API.

See also
KIM::DataType, KIM_DataType
Since
2.0

Function/Subroutine Documentation

◆ kim_get_data_type()

recursive subroutine, public kim_data_type_module::kim_get_data_type ( integer(c_int), intent(in)  index,
type(kim_data_type_type), intent(out)  data_type,
integer(c_int), intent(out)  ierr 
)

Get the identity of each defined standard DataType.

See also
KIM::DATA_TYPE::GetDataType, KIM_DATA_TYPE_GetDataType
Since
2.0

Definition at line 255 of file kim_data_type_module.f90.

◆ kim_get_number_of_data_types()

recursive subroutine, public kim_data_type_module::kim_get_number_of_data_types ( integer(c_int), intent(out)  number_of_data_types)

Get the number of standard DataType's defined by the KIM API.

See also
KIM::DATA_TYPE::GetNumberOfDataTypes, KIM_DATA_TYPE_GetNumberOfDataTypes
Since
2.0

Definition at line 235 of file kim_data_type_module.f90.

Variable Documentation

◆ kim_data_type_double

type(kim_data_type_type), save, bind(C, name="KIM_DATA_TYPE_Double"), public, protected kim_data_type_module::kim_data_type_double

The standard Double data type.

See also
KIM::DATA_TYPE::Double, KIM_DATA_TYPE_Double
Since
2.0

Definition at line 83 of file kim_data_type_module.f90.

◆ kim_data_type_integer

type(kim_data_type_type), save, bind(C, name="KIM_DATA_TYPE_Integer"), public, protected kim_data_type_module::kim_data_type_integer

The standard Integer data type.

See also
KIM::DATA_TYPE::Integer, KIM_DATA_TYPE_Integer
Since
2.0

Definition at line 74 of file kim_data_type_module.f90.