SAMSIM
|
Allocates Arrays and sets initial data for a given testcase for SAMSIM. More...
Functions/Subroutines | |
subroutine | init (testcase) |
Sets initial conditions according to which testcase is chosen. More... | |
subroutine | sub_allocate (Nlayer, length_input_lab) |
Allocates Arrays. More... | |
subroutine | sub_allocate_bgc (Nlayer, N_bgc) |
Allocates BGC Arrays. More... | |
subroutine | sub_deallocate |
Deallocates Arrays. More... | |
Allocates Arrays and sets initial data for a given testcase for SAMSIM.
COPYRIGHT
This file is part of SAMSIM.
SAMSIM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
SAMSIM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with SAMSIM. If not, see http://www.gnu.org/licenses/.
subroutine mo_init::init | ( | integer, intent(in) | testcase | ) |
Sets initial conditions according to which testcase is chosen.
For different initial conditions the Arrays are allocated and the initial values are set. Following must always be:
Testcase 1
Testcase 2
Testcase 3
Testcase 4
subroutine mo_init::sub_allocate | ( | integer, intent(in) | Nlayer, |
integer, intent(in), optional | length_input_lab | ||
) |
Allocates Arrays.
For a given number of layers Nlayers all arrays are allocated
[in] | nlayer | number of layers |
[in] | length_input_lab | Niels, 2017 add: dimension of input arrays |
[in] | length_input_lab | Niels, 2017 |
[in] | length_input_lab | Niels, 2017 |
[in] | length_input_lab | Niels, 2017 |
[in] | length_input_lab | Niels, 2017 |
[in] | length_input_lab | Niels, 2017 |
[in] | length_input_lab | Niels, 2017 |
[in] | length_input_lab | Niels, 2017 |
[in] | length_input_lab | Niels, 2017 |
[in] | length_input_lab | Niels, 2017 |
[in] | length_input_lab | Niels, 2017 |
[in] | length_input_lab | Niels, 2017 |
[in] | length_input_lab | Niels, 2017 |
subroutine mo_init::sub_allocate_bgc | ( | integer, intent(in) | Nlayer, |
integer, intent(in) | N_bgc | ||
) |
Allocates BGC Arrays.
subroutine mo_init::sub_deallocate | ( | ) |
Deallocates Arrays.