16 #ifndef dealii_mapping_collection_h 17 #define dealii_mapping_collection_h 19 #include <deal.II/base/config.h> 21 #include <deal.II/base/subscriptor.h> 23 #include <deal.II/fe/fe.h> 24 #include <deal.II/fe/mapping_q1.h> 29 DEAL_II_NAMESPACE_OPEN
55 template <
int dim,
int spacedim = dim>
77 const MappingCollection<dim, spacedim> &mapping_collection);
121 std::vector<std::shared_ptr<const Mapping<dim, spacedim>>>
mappings;
141 template <
int dim,
int spacedim = dim>
154 template <
int dim,
int spacedim>
158 return mappings.size();
163 template <
int dim,
int spacedim>
168 return *mappings[index];
174 DEAL_II_NAMESPACE_CLOSE
void push_back(const Mapping< dim, spacedim > &new_mapping)
static MappingCollection< dim, spacedim > mapping_collection
MappingCollection()=default
static ::ExceptionBase & ExcIndexRange(int arg1, int arg2, int arg3)
std::vector< std::shared_ptr< const Mapping< dim, spacedim > > > mappings
#define Assert(cond, exc)
Abstract base class for mapping classes.
const Mapping< dim, spacedim > & operator[](const unsigned int index) const
std::size_t memory_consumption() const
unsigned int size() const