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_model_create_module::kim_convert_unit Interface Reference

Get the multiplicative factor to convert between a derived unit represented in two different sets of base units. More...

Public Member Functions

recursive subroutine kim_model_create_convert_unit (from_length_unit, from_energy_unit, from_charge_unit, from_temperature_unit, from_time_unit, to_length_unit, to_energy_unit, to_charge_unit, to_temperature_unit, to_time_unit, length_exponent, energy_exponent, charge_exponent, temperature_exponent, time_exponent, conversion_factor, ierr)
 Get the multiplicative factor to convert between a derived unit represented in two different sets of base units.
 

Detailed Description

Get the multiplicative factor to convert between a derived unit represented in two different sets of base units.

See also
KIM::ModelCreate::ConvertUnit, KIM_ModelCreate_ConvertUnit
Since
2.0

Definition at line 172 of file kim_model_create_module.f90.

Member Function/Subroutine Documentation

◆ kim_model_create_convert_unit()

recursive subroutine kim_model_create_module::kim_convert_unit::kim_model_create_convert_unit ( type(kim_length_unit_type), intent(in)  from_length_unit,
type(kim_energy_unit_type), intent(in)  from_energy_unit,
type(kim_charge_unit_type), intent(in)  from_charge_unit,
type(kim_temperature_unit_type), intent(in)  from_temperature_unit,
type(kim_time_unit_type), intent(in)  from_time_unit,
type(kim_length_unit_type), intent(in)  to_length_unit,
type(kim_energy_unit_type), intent(in)  to_energy_unit,
type(kim_charge_unit_type), intent(in)  to_charge_unit,
type(kim_temperature_unit_type), intent(in)  to_temperature_unit,
type(kim_time_unit_type), intent(in)  to_time_unit,
real(c_double), intent(in)  length_exponent,
real(c_double), intent(in)  energy_exponent,
real(c_double), intent(in)  charge_exponent,
real(c_double), intent(in)  temperature_exponent,
real(c_double), intent(in)  time_exponent,
real(c_double), intent(out)  conversion_factor,
integer(c_int), intent(out)  ierr 
)

Get the multiplicative factor to convert between a derived unit represented in two different sets of base units.

See also
KIM::ModelCreate::ConvertUnit, KIM_ModelCreate_ConvertUnit
Since
2.0

Definition at line 591 of file kim_model_create_module.f90.


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