16 #ifndef dealii__mapping_collection_h 17 #define dealii__mapping_collection_h 19 #include <deal.II/base/config.h> 20 #include <deal.II/base/subscriptor.h> 21 #include <deal.II/fe/mapping_q1.h> 22 #include <deal.II/fe/fe.h> 25 #include <deal.II/base/std_cxx11/shared_ptr.h> 27 DEAL_II_NAMESPACE_OPEN
53 template<
int dim,
int spacedim=dim>
103 unsigned int size ()
const;
116 std::vector<std_cxx11::shared_ptr<const Mapping<dim,spacedim> > >
mappings;
136 template<
int dim,
int spacedim=dim>
149 template<
int dim,
int spacedim>
154 return mappings.size();
159 template<
int dim,
int spacedim>
164 Assert (index < mappings.size (),
166 return *mappings[index];
172 DEAL_II_NAMESPACE_CLOSE
void push_back(const Mapping< dim, spacedim > &new_mapping)
static MappingCollection< dim, spacedim > mapping_collection
std::vector< std_cxx11::shared_ptr< const Mapping< dim, spacedim > > > mappings
static ::ExceptionBase & ExcIndexRange(int arg1, int arg2, int arg3)
#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