Public Member Functions | Protected Member Functions

FE_DGQArbitraryNodes< dim > Class Template Reference
[Finite element space descriptions]

Inheritance diagram for FE_DGQArbitraryNodes< dim >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FE_DGQArbitraryNodes (const Quadrature< 1 > &points)
virtual std::string get_name () const

Protected Member Functions

virtual FiniteElement< dim > * clone () const

Detailed Description

template<int dim>
class FE_DGQArbitraryNodes< dim >

Implementation of scalar, discontinuous tensor product elements based on Lagrange polynomials with arbitrary nodes. The primary purpose of this class is to provide an element for which the mass matrix can be made diagonal by choosing basis functions that are not either zero or one at the vertices of the cell, but instead are zero or one at a given set of quadrature points. If this set of quadrature points is then also used in integrating the mass matrix, then it will be diagonal. The number of quadrature points automatically determines the polynomial degree chosen for this element.

See the base class documentation in FE_DGQ for details.

Author:
F. Prill 2006

Definition at line 417 of file fe_dgq.h.


Constructor & Destructor Documentation

template<int dim>
FE_DGQArbitraryNodes< dim >::FE_DGQArbitraryNodes ( const Quadrature< 1 > &  points )

Constructor for tensor product polynomials based on Polynomials::Lagrange interpolation of the support points in the quadrature rule points. The degree of these polynomials is points.size()-1.


Member Function Documentation

template<int dim>
virtual std::string FE_DGQArbitraryNodes< dim >::get_name (  ) const [virtual]

Return a string that uniquely identifies a finite element. This class returns FE_DGQArbitraryNodes<dim>(degree) , with dim and degree replaced by appropriate values.

Reimplemented from FE_DGQ< dim >.

template<int dim>
virtual FiniteElement<dim>* FE_DGQArbitraryNodes< dim >::clone (  ) const [protected, virtual]

clone function instead of a copy constructor.

This function is needed by the constructors of FESystem.

Reimplemented from FE_DGQ< dim >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:04:07 by doxygen 1.7.2