23template <
typename ElementType>
29 using NonGenericIntegrationMethod =
31 NonGenericIntegrationMethod int_met{
33 return int_met.getNumberOfPoints();
89 OGS_FATAL(
"Mesh element type {:s} is not supported",
99 std::vector<MeshLib::Element*>
const& mesh_elements,
112 std::vector<std::size_t> element_ip_data_offsets(mesh_elements.size() + 1);
113 std::size_t counter = 0;
114 auto const ip_meta_data =
116 for (std::size_t i = 0; i < mesh_elements.size(); i++)
118 auto const*
const element = mesh_elements[i];
121 element_ip_data_offsets[i] = counter;
125 element_ip_data_offsets[mesh_elements.size()] = counter;
127 return element_ip_data_offsets;
Definition of mesh-related Enumerations.
Definition of the class Properties that implements a container of properties.
virtual CellType getCellType() const =0
Property manager on mesh items. Class Properties manages scalar, vector or matrix properties....
int getNumberOfGlobalComponents() const
std::string const & getPropertyName() const
IntegrationPointMetaData getIntegrationPointMetaData(MeshLib::Properties const &properties, std::string const &name)
std::string CellType2String(const CellType t)
Given a MeshElemType this returns the appropriate string.
NumLib::IntegrationGaussLegendreRegular< MeshElement::dimension > IntegrationMethod