A generic variable type.
More...
#include <Ioss_VariableType.h>
|
static void | alias (const std::string &base, const std::string &syn) |
|
static int | describe (NameList *names) |
| Get the names of variable types known to IOSS.
|
|
static IOSS_NODISCARD NameList | describe () |
| Get the names of variable types known to IOSS.
|
|
static IOSS_NODISCARD std::vector< Ioss::VariableType * > | external_types (Ioss::VariableType::Type type) |
|
static bool | create_named_suffix_type (const std::string &type_name, const Ioss::NameList &suffices) |
|
static bool | create_named_suffix_field_type (const std::string &type_name, const Ioss::NameList &suffices) |
|
static bool | create_basis_type (const std::string &type_name, const Ioss::Basis &basis) |
|
static bool | create_quadrature_type (const std::string &type_name, const std::vector< Ioss::QuadraturePoint > &quad_points) |
|
static bool | get_field_type_mapping (const std::string &field, std::string *type) |
|
static bool | add_field_type_mapping (const std::string &raw_field, const std::string &raw_type) |
|
static IOSS_NODISCARD std::string | numeric_label (int which, int ncomp, const std::string &name) |
|
static IOSS_NODISCARD const VariableType * | factory (const std::string &raw_name, int copies=1) |
|
static IOSS_NODISCARD const VariableType * | factory (const std::string &raw_name, const std::string &secondary) |
|
static IOSS_NODISCARD const VariableType * | factory (const std::vector< Suffix > &suffices, bool ignore_realn_fields=false) |
|
static Registry & | registry () |
|
◆ Type
Enumerator |
---|
UNKNOWN | |
SCALAR | |
STANDARD | |
COMPOSED | |
COMPOSITE | |
CONSTRUCTED | |
ELEMENT | |
NAMED_SUFFIX | |
BASIS | |
QUADRATURE | |
◆ VariableType() [1/2]
◆ ~VariableType()
virtual Ioss::VariableType::~VariableType |
( |
| ) |
|
|
virtualdefault |
◆ VariableType() [2/2]
Ioss::VariableType::VariableType |
( |
const std::string & | type, |
|
|
int | comp_count, |
|
|
bool | delete_me = false ) |
|
protected |
◆ add_field_type_mapping()
bool Ioss::VariableType::add_field_type_mapping |
( |
const std::string & | raw_field, |
|
|
const std::string & | raw_type ) |
|
static |
◆ alias()
void Ioss::VariableType::alias |
( |
const std::string & | base, |
|
|
const std::string & | syn ) |
|
static |
◆ build_variable_type()
bool Ioss::VariableType::build_variable_type |
( |
const std::string & | raw_type | ) |
|
|
staticprivate |
◆ component_count()
int Ioss::VariableType::component_count |
( |
| ) |
const |
|
inline |
◆ create_basis_type()
bool Ioss::VariableType::create_basis_type |
( |
const std::string & | type_name, |
|
|
const Ioss::Basis & | basis ) |
|
static |
◆ create_named_suffix_field_type()
static bool Ioss::VariableType::create_named_suffix_field_type |
( |
const std::string & | type_name, |
|
|
const Ioss::NameList & | suffices ) |
|
inlinestatic |
◆ create_named_suffix_type()
bool Ioss::VariableType::create_named_suffix_type |
( |
const std::string & | type_name, |
|
|
const Ioss::NameList & | suffices ) |
|
static |
◆ create_quadrature_type()
bool Ioss::VariableType::create_quadrature_type |
( |
const std::string & | type_name, |
|
|
const std::vector< Ioss::QuadraturePoint > & | quad_points ) |
|
static |
◆ describe() [1/2]
Get the names of variable types known to IOSS.
- Returns
- The list of known variable type names.
◆ describe() [2/2]
int Ioss::VariableType::describe |
( |
NameList * | names | ) |
|
|
static |
Get the names of variable types known to IOSS.
- Parameters
-
[out] | names | The list of known variable type names. |
- Returns
- The number of known variable types.
◆ external_types()
◆ factory() [1/3]
const VariableType * Ioss::VariableType::factory |
( |
const std::string & | raw_name, |
|
|
const std::string & | secondary ) |
|
static |
◆ factory() [2/3]
const VariableType * Ioss::VariableType::factory |
( |
const std::string & | raw_name, |
|
|
int | copies = 1 ) |
|
static |
◆ factory() [3/3]
const VariableType * Ioss::VariableType::factory |
( |
const std::vector< Suffix > & | suffices, |
|
|
bool | ignore_realn_fields = false ) |
|
static |
◆ get_field_type_mapping()
bool Ioss::VariableType::get_field_type_mapping |
( |
const std::string & | field, |
|
|
std::string * | type ) |
|
static |
◆ label()
virtual IOSS_NODISCARD std::string Ioss::VariableType::label |
( |
int | which, |
|
|
char | suffix_sep = '_' ) const |
|
pure virtual |
Implemented in Ioss::Asym_Tensor_01, Ioss::Asym_Tensor_02, Ioss::Asym_Tensor_03, Ioss::BasisVariableType, Ioss::ComposedVariableType, Ioss::CompositeVariableType, Ioss::ConstructedVariableType, Ioss::ElementVariableType, Ioss::Full_Tensor_12, Ioss::Full_Tensor_16, Ioss::Full_Tensor_22, Ioss::Full_Tensor_32, Ioss::Full_Tensor_36, Ioss::Invalid_Storage, Ioss::Matrix_22, Ioss::Matrix_33, Ioss::NamedSuffixVariableType, Ioss::QuadratureVariableType, Ioss::Quaternion_2D, Ioss::Quaternion_3D, Ioss::Scalar, Ioss::Sym_Tensor_10, Ioss::Sym_Tensor_11, Ioss::Sym_Tensor_13, Ioss::Sym_Tensor_21, Ioss::Sym_Tensor_31, Ioss::Sym_Tensor_33, Ioss::TestOnly, Ioss::Vector_2D, and Ioss::Vector_3D.
◆ label_name()
std::string Ioss::VariableType::label_name |
( |
const std::string & | base, |
|
|
int | which, |
|
|
char | suffix_sep1 = '_', |
|
|
char | suffix_sep2 = '_', |
|
|
bool | suffices_uppercase = false ) const |
|
virtual |
◆ match()
bool Ioss::VariableType::match |
( |
const std::vector< Suffix > & | suffices | ) |
const |
|
virtual |
◆ name()
std::string Ioss::VariableType::name |
( |
| ) |
const |
|
inline |
◆ numeric_label()
std::string Ioss::VariableType::numeric_label |
( |
int | which, |
|
|
int | ncomp, |
|
|
const std::string & | name ) |
|
static |
◆ operator=()
◆ print()
void Ioss::VariableType::print |
( |
| ) |
const |
|
virtual |
◆ registry()
Registry & Ioss::VariableType::registry |
( |
| ) |
|
|
static |
◆ suffix_count()
int Ioss::VariableType::suffix_count |
( |
| ) |
const |
|
inlinevirtual |
◆ type()
Implemented in Ioss::Asym_Tensor_01, Ioss::Asym_Tensor_02, Ioss::Asym_Tensor_03, Ioss::BasisVariableType, Ioss::ComposedVariableType, Ioss::CompositeVariableType, Ioss::ConstructedVariableType, Ioss::ElementVariableType, Ioss::Full_Tensor_12, Ioss::Full_Tensor_16, Ioss::Full_Tensor_22, Ioss::Full_Tensor_32, Ioss::Full_Tensor_36, Ioss::Invalid_Storage, Ioss::Matrix_22, Ioss::Matrix_33, Ioss::NamedSuffixVariableType, Ioss::QuadratureVariableType, Ioss::Quaternion_2D, Ioss::Quaternion_3D, Ioss::Scalar, Ioss::Sym_Tensor_10, Ioss::Sym_Tensor_11, Ioss::Sym_Tensor_13, Ioss::Sym_Tensor_21, Ioss::Sym_Tensor_31, Ioss::Sym_Tensor_33, Ioss::TestOnly, Ioss::Vector_2D, and Ioss::Vector_3D.
◆ type_string()
std::string Ioss::VariableType::type_string |
( |
| ) |
const |
|
pure virtual |
Implemented in Ioss::Asym_Tensor_01, Ioss::Asym_Tensor_02, Ioss::Asym_Tensor_03, Ioss::BasisVariableType, Ioss::ComposedVariableType, Ioss::CompositeVariableType, Ioss::ConstructedVariableType, Ioss::ElementVariableType, Ioss::Full_Tensor_12, Ioss::Full_Tensor_16, Ioss::Full_Tensor_22, Ioss::Full_Tensor_32, Ioss::Full_Tensor_36, Ioss::Invalid_Storage, Ioss::Matrix_22, Ioss::Matrix_33, Ioss::NamedSuffixVariableType, Ioss::QuadratureVariableType, Ioss::Quaternion_2D, Ioss::Quaternion_3D, Ioss::Scalar, Ioss::Sym_Tensor_10, Ioss::Sym_Tensor_11, Ioss::Sym_Tensor_13, Ioss::Sym_Tensor_21, Ioss::Sym_Tensor_31, Ioss::Sym_Tensor_33, Ioss::TestOnly, Ioss::Vector_2D, and Ioss::Vector_3D.
◆ componentCount
int Ioss::VariableType::componentCount {} |
|
private |
◆ name_
const std::string Ioss::VariableType::name_ {} |
|
private |
The documentation for this class was generated from the following files: