CAMP 1.0.0
Chemistry Across Multiple Phases
camp_camp_box_model_data::profile_t Type Reference

Property time profile. More...

Inheritance diagram for camp_camp_box_model_data::profile_t:

Public Member Functions

procedure reset (this)
 Reset the profile.
 
procedure advance (this)
 Advance the profile by one time step.
 
procedure current_value (this)
 Get the current profile value.
 
procedure print (this, file_unit)
 Print the profile configuration.
 

Public Attributes

character(len=:), allocatable name
 Name of the profile.
 
integer(kind=i_kind) curr_time_step
 Current time step in the profile.
 
integer(kind=i_kind) curr_transition
 Index for the current position in the transition arrays.
 
integer(kind=i_kind), dimension(:), allocatable transition_time_step
 Time step for the next transition, starting with 0 (initial conditions)
 
real(kind=dp), dimension(:), allocatable transition_value
 New values for each transition, starting with the initial value.
 

Detailed Description

Property time profile.

Constructor for profile_t.

Definition at line 54 of file camp_box_model_data.F90.

Member Function/Subroutine Documentation

◆ advance()

procedure camp_camp_box_model_data::profile_t::advance ( class(profile_t), intent(inout) this)

Advance the profile by one time step.

Parameters
[in,out]thisProperty profile

Definition at line 45 of file camp_box_model_data.F90.

◆ current_value()

procedure camp_camp_box_model_data::profile_t::current_value ( class(profile_t), intent(inout) this)

Get the current profile value.

Returns
Current value of the profile
Parameters
[in,out]thisProperty profile

Definition at line 47 of file camp_box_model_data.F90.

◆ print()

procedure camp_camp_box_model_data::profile_t::print ( class(profile_t), intent(in) this,
integer(kind=i_kind), intent(in), optional file_unit )

Print the profile configuration.

Parameters
[in]thisProperty profile
[in]file_unitOutput file unit

Definition at line 49 of file camp_box_model_data.F90.

◆ reset()

procedure camp_camp_box_model_data::profile_t::reset ( class(profile_t), intent(inout) this)

Reset the profile.

Parameters
[in,out]thisProperty profile

Definition at line 43 of file camp_box_model_data.F90.

Member Data Documentation

◆ curr_time_step

integer(kind=i_kind) camp_camp_box_model_data::profile_t::curr_time_step

Current time step in the profile.

Definition at line 34 of file camp_box_model_data.F90.

◆ curr_transition

integer(kind=i_kind) camp_camp_box_model_data::profile_t::curr_transition

Index for the current position in the transition arrays.

Definition at line 36 of file camp_box_model_data.F90.

◆ name

character(len=:), allocatable camp_camp_box_model_data::profile_t::name

Name of the profile.

Definition at line 32 of file camp_box_model_data.F90.

◆ transition_time_step

integer(kind=i_kind), dimension(:), allocatable camp_camp_box_model_data::profile_t::transition_time_step

Time step for the next transition, starting with 0 (initial conditions)

Definition at line 38 of file camp_box_model_data.F90.

◆ transition_value

real(kind=dp), dimension(:), allocatable camp_camp_box_model_data::profile_t::transition_value

New values for each transition, starting with the initial value.

Definition at line 40 of file camp_box_model_data.F90.


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