36 #include "ElementAttributes.hpp"
38 template <
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
40 : mAttributes(std::vector<
double>())
44 template <
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
50 template <
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
53 mAttributes.push_back(attribute);
56 template <
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
60 if (mAttributes.empty())
62 mAttributes.resize(1u);
65 mAttributes[0] = attribute;
68 template <
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
71 if (mAttributes.empty())
77 return(mAttributes[0]);
void AddAttribute(double attribute)
std::vector< double > & rGetAttributes()
double GetFirstAttribute()
void SetFirstAttribute(double attribute)