Flow123d  release_2.2.0-914-gf1a3a4f
Public Member Functions | List of all members
FE_RT0< dim, spacedim > Class Template Reference

Raviart-Thomas element of order 0. More...

#include <fe_rt.hh>

Inheritance diagram for FE_RT0< dim, spacedim >:
Inheritance graph
[legend]
Collaboration diagram for FE_RT0< dim, spacedim >:
Collaboration graph
[legend]

Public Member Functions

 FE_RT0 ()
 Constructor. More...
 
- Public Member Functions inherited from FiniteElement< dim, spacedim >
 FiniteElement ()
 Constructor. More...
 
const unsigned int n_dofs () const
 Returns the number of degrees of freedom needed by the finite element. More...
 
virtual double basis_value (const unsigned int i, const arma::vec::fixed< dim > &p, const unsigned int comp=0) const
 Calculates the value of the comp-th component of the i-th raw basis function at the point p on the reference element. More...
 
virtual arma::vec::fixed< dim > basis_grad (const unsigned int i, const arma::vec::fixed< dim > &p, const unsigned int comp=0) const
 Calculates the comp-th component of the gradient of the i-th raw basis function at the point p on the reference element. More...
 
virtual unsigned int n_components () const
 Returns numer of components of the basis function. More...
 
Dof dof (unsigned int i) const
 Returns i -th degree of freedom. More...
 
virtual ~FiniteElement ()
 Destructor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from FiniteElement< dim, spacedim >
void init (bool primitive=true, FEType type=FEScalar)
 Clears all internal structures. More...
 
void setup_components ()
 Initialize vectors with information about components of basis functions. More...
 
virtual FEInternalDatainitialize (const Quadrature< dim > &q)
 Calculates the data on the reference cell. More...
 
virtual UpdateFlags update_each (UpdateFlags flags)
 Decides which additional quantities have to be computed for each cell. More...
 
virtual void fill_fe_values (const Quadrature< dim > &q, FEInternalData &data, FEValuesData< dim, spacedim > &fv_data)
 Computes the shape function values and gradients on the actual cell and fills the FEValues structure. More...
 
virtual void compute_node_matrix ()
 Initializes the node_matrix for computing the coefficients of the shape functions in the raw basis of functions_space_. This is done by evaluating the dofs_ for the basis function and by inverting the resulting matrix. More...
 
const bool is_primitive () const
 Indicates whether the basis functions have one or more nonzero components (scalar FE spaces are always primitive). More...
 
unsigned int system_to_component_index (unsigned sys_idx) const
 Returns the component index for vector valued finite elements. More...
 
const std::vector< bool > & get_nonzero_components (unsigned int sys_idx) const
 Returns the mask of nonzero components for given basis function. More...
 
- Protected Attributes inherited from FiniteElement< dim, spacedim >
FEType type_
 Type of FiniteElement. More...
 
bool is_primitive_
 Primitive FE is using componentwise shape functions, i.e. only one component is nonzero for each shape function. More...
 
std::vector< unsigned int > component_indices_
 Indices of nonzero components of shape functions (for primitive FE). More...
 
std::vector< std::vector< bool > > nonzero_components_
 Footprints of nonzero components of shape functions. More...
 
arma::mat node_matrix
 Matrix that determines the coefficients of the raw basis functions from the values at the support points. More...
 
FunctionSpacefunction_space_
 Function space defining the FE. More...
 
std::vector< Dofdofs_
 Set of degrees of freedom (functionals) defining the FE. More...
 

Detailed Description

template<unsigned int dim, unsigned int spacedim>
class FE_RT0< dim, spacedim >

Raviart-Thomas element of order 0.

The lowest order Raviart-Thomas finite element with linear basis functions and continuous normal components across element sides.

Definition at line 60 of file fe_rt.hh.

Constructor & Destructor Documentation

template<unsigned int dim, unsigned int spacedim>
FE_RT0< dim, spacedim >::FE_RT0 ( )

Constructor.

Definition at line 63 of file fe_rt.cc.


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