10#include "ioss_export.h"
32 assert(which > 0 && which <= component_count());
33 if (component_count() == 1) {
36 return VariableType::numeric_label(which, component_count(), name());
40 const std::vector<Ioss::QuadraturePoint> &quad_points,
bool delete_me)
42 m_quadratureType_(my_name), m_quadrature_(quad_points)
57 assert(which > 0 && which <= component_count());
58 return m_quadrature_[which - 1];
61 void print() const override final;
64 std::
string m_quadratureType_{};
65 std::vector<Ioss::QuadraturePoint> m_quadrature_{};
70typedef struct ex_quadrature
72 char name[EX_MAX_NAME + 1];
#define IOSS_NODISCARD
Definition Ioss_CodeTypes.h:55
Definition Ioss_QuadratureVariableType.h:27
IOSS_NODISCARD std::string type_string() const override
Definition Ioss_QuadratureVariableType.h:49
QuadratureVariableType(const QuadratureVariableType &)=delete
QuadratureVariableType(const std::string &my_name, const std::vector< Ioss::QuadraturePoint > &quad_points, bool delete_me)
Definition Ioss_QuadratureVariableType.h:39
IOSS_NODISCARD Ioss::QuadraturePoint get_quadrature_component(int which) const
Definition Ioss_QuadratureVariableType.h:55
IOSS_NODISCARD std::vector< Ioss::QuadraturePoint > get_quadrature() const
Definition Ioss_QuadratureVariableType.h:51
IOSS_NODISCARD VariableType::Type type() const override
Definition Ioss_QuadratureVariableType.h:48
IOSS_NODISCARD std::string label(int which, const char) const override
Definition Ioss_QuadratureVariableType.h:30
Definition Ioss_Utils.h:86
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_QuadratureVariableType.h:19
double eta
Definition Ioss_QuadratureVariableType.h:21
double xi
Definition Ioss_QuadratureVariableType.h:20
double zeta
Definition Ioss_QuadratureVariableType.h:22
double weight
Definition Ioss_QuadratureVariableType.h:23