The camp_state_t structure and associated subroutines.
More...
The camp_state_t structure and associated subroutines.
◆ constructor_multi_cell()
type(camp_state_t) function, pointer camp_camp_state::constructor_multi_cell |
( |
integer(kind=i_kind), intent(in) |
num_cells, |
|
|
type(env_state_ptr), dimension(:), intent(in), optional, target |
env_states |
|
) |
| |
|
private |
Constructor for camp_state_t.
- Returns
- New model state
- Parameters
-
[in] | num_cells | Number of grid cells to solve simultaneously |
[in] | env_states | Environmental state |
Definition at line 98 of file camp_state.F90.
◆ constructor_one_cell()
type(camp_state_t) function, pointer camp_camp_state::constructor_one_cell |
( |
type(env_state_t), intent(in), optional, target |
env_state | ) |
|
Constructor for camp_state_t.
- Returns
- New model state
- Parameters
-
[in] | env_state | Environmental state |
Definition at line 71 of file camp_state.F90.
◆ dereference()
elemental subroutine camp_camp_state::dereference |
( |
class(camp_state_ptr), intent(inout) |
this | ) |
|
|
private |
Deference a pointer to a camp state.
- Parameters
-
[in,out] | this | Pointer to the camp state |
Definition at line 170 of file camp_state.F90.
◆ finalize()
elemental subroutine camp_camp_state::finalize |
( |
type(camp_state_t), intent(inout) |
this | ) |
|
|
private |
Finalize the state.
- Parameters
-
[in,out] | this | CAMP model state |
Definition at line 149 of file camp_state.F90.
◆ ptr_finalize()
elemental subroutine camp_camp_state::ptr_finalize |
( |
type(camp_state_ptr), intent(inout) |
this | ) |
|
|
private |
Finalize a pointer to a camp state.
- Parameters
-
[in,out] | this | Pointer to the camp state |
Definition at line 182 of file camp_state.F90.
◆ update_env_state()
subroutine camp_camp_state::update_env_state |
( |
class(camp_state_t), intent(inout) |
this | ) |
|
|
private |
Update the environmental state array.
- Parameters
-
Definition at line 131 of file camp_state.F90.