Reference documentation for deal.II version 8.4.2
Public Member Functions | List of all members
FETools::FEFactoryBase< dim, spacedim > Class Template Referenceabstract

#include <deal.II/fe/fe_tools.h>

Inheritance diagram for FETools::FEFactoryBase< dim, spacedim >:
[legend]

Public Member Functions

virtual FiniteElement< dim, spacedim > * get (const unsigned int degree) const =0
 
virtual FiniteElement< dim, spacedim > * get (const Quadrature< 1 > &quad) const =0
 
virtual ~FEFactoryBase ()
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
void subscribe (const char *identifier=0) const
 
void unsubscribe (const char *identifier=0) const
 
unsigned int n_subscriptions () const
 
void list_subscribers () const
 
 DeclException3 (ExcInUse, int, char *, std::string &,<< "Object of class "<< arg2<< " is still used by "<< arg1<< " other objects."<< "\"<< "(Additional information: "<< arg3<< ")\"<< "See the entry in the Frequently Asked Questions of "<< "deal.II (linked to from http://www.dealii.org/) for "<< "a lot more information on what this error means and "<< "how to fix programs in which it happens.")
 
 DeclException2 (ExcNoSubscriber, char *, char *,<< "No subscriber with identifier <"<< arg2<< "> subscribes to this object of class "<< arg1<< ". Consequently, it cannot be unsubscribed.")
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Detailed Description

template<int dim, int spacedim = dim>
class FETools::FEFactoryBase< dim, spacedim >

A base class for factory objects creating finite elements of a given degree. Derived classes are called whenever one wants to have a transparent way to create a finite element object.

This class is used in the FETools::get_fe_from_name() and FETools::add_fe_name() functions.

Author
Guido Kanschat, 2006

Definition at line 80 of file fe_tools.h.

Constructor & Destructor Documentation

§ ~FEFactoryBase()

template<int dim, int spacedim>
FETools::FEFactoryBase< dim, spacedim >::~FEFactoryBase ( )
virtual

Virtual destructor doing nothing but making the compiler happy.

Definition at line 338 of file fe_tools.cc.

Member Function Documentation

§ get() [1/2]

template<int dim, int spacedim = dim>
virtual FiniteElement<dim,spacedim>* FETools::FEFactoryBase< dim, spacedim >::get ( const unsigned int  degree) const
pure virtual

Create a FiniteElement and return a pointer to it.

Implemented in FETools::FEFactory< FE >.

§ get() [2/2]

template<int dim, int spacedim = dim>
virtual FiniteElement<dim,spacedim>* FETools::FEFactoryBase< dim, spacedim >::get ( const Quadrature< 1 > &  quad) const
pure virtual

Create a FiniteElement from a quadrature formula (currently only implemented for FE_Q) and return a pointer to it.

Implemented in FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, and FETools::FEFactory< FE >.


The documentation for this class was generated from the following files: