10#include "ioss_export.h"
41 assert(which > 0 && which <= component_count());
42 if (component_count() == 1) {
45 return VariableType::numeric_label(which - 1, component_count(), name());
49 :
Ioss::
VariableType(my_name, basis.size(), delete_me), m_basis_type_(my_name),
62 assert(which > 0 && which <= component_count());
63 return m_basis_.basies[which - 1];
66 void print() const override final;
69 std::
string m_basis_type_{};
75typedef struct ex_basis
87 char name[EX_MAX_NAME + 1];
91 int *subc_dof_ordinal;
#define IOSS_NODISCARD
Definition Ioss_CodeTypes.h:55
Definition Ioss_BasisVariableType.h:36
BasisVariableType(const BasisVariableType &)=delete
BasisVariableType(const std::string &my_name, const Ioss::Basis &basis, bool delete_me)
Definition Ioss_BasisVariableType.h:48
IOSS_NODISCARD VariableType::Type type() const override
Definition Ioss_BasisVariableType.h:56
IOSS_NODISCARD const Ioss::BasisComponent & get_basis_component(int which) const
Definition Ioss_BasisVariableType.h:60
IOSS_NODISCARD std::string label(int which, const char) const override
Definition Ioss_BasisVariableType.h:39
IOSS_NODISCARD std::string type_string() const override
Definition Ioss_BasisVariableType.h:57
IOSS_NODISCARD const Ioss::Basis & get_basis() const
Definition Ioss_BasisVariableType.h:59
A generic variable type.
Definition Ioss_VariableType.h:70
Type
Definition Ioss_VariableType.h:72
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40
std::string name(const Ioss::GroupingEntity *entity)
Definition io_info.C:128
Definition Ioss_BasisVariableType.h:19
int subc_num_dof
Definition Ioss_BasisVariableType.h:23
int subc_dof_ordinal
Definition Ioss_BasisVariableType.h:22
int subc_ordinal
Definition Ioss_BasisVariableType.h:21
double eta
Definition Ioss_BasisVariableType.h:25
double xi
Definition Ioss_BasisVariableType.h:24
double zeta
Definition Ioss_BasisVariableType.h:26
int subc_dim
Definition Ioss_BasisVariableType.h:20
Definition Ioss_BasisVariableType.h:30
std::vector< BasisComponent > basies
Definition Ioss_BasisVariableType.h:32
size_t size() const
Definition Ioss_BasisVariableType.h:31