The aero_weight_t structure and associated subroutines.
More...
Data Types |
type | aero_weight_t |
| An aerosol size distribution weighting function. More...
|
Functions/Subroutines |
subroutine | aero_weight_allocate (aero_weight) |
| Allocates an aero_weight.
|
subroutine | aero_weight_allocate_size (aero_weight) |
| Allocates an aero_weight of the given size.
|
subroutine | aero_weight_deallocate (aero_weight) |
| Free all storage.
|
subroutine | aero_weight_zero (aero_weight) |
| Zeros the contents of the aero_weight .
|
subroutine | aero_weight_copy (aero_weight_from, aero_weight_to) |
| Copy an aero_weight.
|
real(kind=dp) | aero_weight_value (aero_weight, radius) |
| Give the value of an aero_weight at a specific radius.
|
subroutine | spec_file_read_aero_weight (file, aero_weight) |
| Read an aero_weight from a spec file.
|
integer | pmc_mpi_pack_size_aero_weight (val) |
| Determines the number of bytes required to pack the given value.
|
subroutine | pmc_mpi_pack_aero_weight (buffer, position, val) |
| Packs the given value into the buffer, advancing position.
|
subroutine | pmc_mpi_unpack_aero_weight (buffer, position, val) |
| Unpacks the given value from the buffer, advancing position.
|
subroutine | aero_weight_output_netcdf (aero_weight, ncid) |
| Write full state.
|
subroutine | aero_weight_input_netcdf (aero_weight, ncid) |
| Read full state.
|
Variables |
integer, parameter | AERO_WEIGHT_TYPE_INVALID = 0 |
| Type code for an undefined or invalid weighting.
|
integer, parameter | AERO_WEIGHT_TYPE_NONE = 1 |
| Type code for no (or flat) weighting.
|
integer, parameter | AERO_WEIGHT_TYPE_POWER = 2 |
| Type code for power function weighting.
|
integer, parameter | AERO_WEIGHT_TYPE_MFA = 3 |
| Type code for MFA weighting.
|
Detailed Description
The aero_weight_t structure and associated subroutines.
Function/Subroutine Documentation
subroutine pmc_aero_weight::aero_weight_allocate |
( |
type(aero_weight_t),intent(out) |
aero_weight ) |
|
Allocates an aero_weight.
- Parameters:
-
aero_weight | Aerosol weight. |
subroutine pmc_aero_weight::aero_weight_allocate_size |
( |
type(aero_weight_t),intent(out) |
aero_weight ) |
|
Allocates an aero_weight of the given size.
- Parameters:
-
aero_weight | Aerosol weight. |
subroutine pmc_aero_weight::aero_weight_copy |
( |
type(aero_weight_t),intent(in) |
aero_weight_from, |
|
|
type(aero_weight_t),intent(inout) |
aero_weight_to |
|
) |
| |
Copy an aero_weight.
- Parameters:
-
aero_weight_from | Aerosol weight original. |
aero_weight_to | Aerosol weight copy. |
subroutine pmc_aero_weight::aero_weight_deallocate |
( |
type(aero_weight_t),intent(in) |
aero_weight ) |
|
Free all storage.
- Parameters:
-
aero_weight | Aerosol weight. |
subroutine pmc_aero_weight::aero_weight_input_netcdf |
( |
type(aero_weight_t),intent(inout) |
aero_weight, |
|
|
integer,intent(in) |
ncid |
|
) |
| |
Read full state.
- Parameters:
-
aero_weight | Environment state to read. |
ncid | NetCDF file ID, in data mode. |
subroutine pmc_aero_weight::aero_weight_output_netcdf |
( |
type(aero_weight_t),intent(in) |
aero_weight, |
|
|
integer,intent(in) |
ncid |
|
) |
| |
Write full state.
- Parameters:
-
aero_weight | Aero weight to write. |
ncid | NetCDF file ID, in data mode. |
real(kind=dp) pmc_aero_weight::aero_weight_value |
( |
type(aero_weight_t),intent(in) |
aero_weight, |
|
|
real(kind=dp),intent(in) |
radius |
|
) |
| |
Give the value of an aero_weight at a specific radius.
- Parameters:
-
aero_weight | Aerosol weight. |
radius | Radius to compute weight at (m). |
subroutine pmc_aero_weight::aero_weight_zero |
( |
type(aero_weight_t),intent(inout) |
aero_weight ) |
|
Zeros the contents of the aero_weight
.
- Parameters:
-
aero_weight | Aerosol weight. |
subroutine pmc_aero_weight::pmc_mpi_pack_aero_weight |
( |
character,dimension(:),intent(inout) |
buffer, |
|
|
integer,intent(inout) |
position, |
|
|
type(aero_weight_t),intent(in) |
val |
|
) |
| |
Packs the given value into the buffer, advancing position.
- Parameters:
-
buffer | Memory buffer. |
position | Current buffer position. |
val | Value to pack. |
integer pmc_aero_weight::pmc_mpi_pack_size_aero_weight |
( |
type(aero_weight_t),intent(in) |
val ) |
|
Determines the number of bytes required to pack the given value.
- Parameters:
-
subroutine pmc_aero_weight::pmc_mpi_unpack_aero_weight |
( |
character,dimension(:),intent(inout) |
buffer, |
|
|
integer,intent(inout) |
position, |
|
|
type(aero_weight_t),intent(inout) |
val |
|
) |
| |
Unpacks the given value from the buffer, advancing position.
- Parameters:
-
buffer | Memory buffer. |
position | Current buffer position. |
val | Value to pack. |
subroutine pmc_aero_weight::spec_file_read_aero_weight |
( |
type(spec_file_t),intent(inout) |
file, |
|
|
type(aero_weight_t),intent(inout) |
aero_weight |
|
) |
| |
Read an aero_weight from a spec file.
- Parameters:
-
file | Spec file. |
aero_weight | Aerosol weight. |
Variable Documentation
Type code for an undefined or invalid weighting.
Type code for MFA weighting.
Type code for no (or flat) weighting.
Type code for power function weighting.