![]() |
PRISMS-PF Manual
|
Structure to hold the attributes of a field. This includes things like the name, rank, and nucleation information.. More...
#include <field_attributes.h>
Public Member Functions | |
| FieldAttributes (std::string _name="", TensorRank _field_type=TensorRank::Scalar, bool _is_nucleation_rate_variable=false, std::vector< Types::Index > _nucleating_field_indices=std::vector< Types::Index >()) | |
| Constructor. | |
Public Attributes | |
| std::string | name |
| Field name. | |
| TensorRank | field_type = TensorRank::Scalar |
| Field type (Scalar/Vector). | |
| bool | is_nucleation_rate_variable = false |
| Is a nucleation rate. | |
| std::vector< Types::Index > | nucleating_field_indices |
| If this is a nucleation rate, the indices of the nucleating fields. | |
Structure to hold the attributes of a field. This includes things like the name, rank, and nucleation information..
|
inlineexplicit |
Constructor.
| TensorRank FieldAttributes::field_type = TensorRank::Scalar |
Field type (Scalar/Vector).
| std::string FieldAttributes::name |
Field name.
| std::vector<Types::Index> FieldAttributes::nucleating_field_indices |
If this is a nucleation rate, the indices of the nucleating fields.