Logo Search packages:      
Sourcecode: ufc version File versions  Download package

ufc::finite_element Class Reference

#include <ufc.h>

Inheritance diagram for ufc::finite_element:

PoissonBilinearForm_finite_element_0 PoissonBilinearForm_finite_element_1 pycc::fe_Lagrange_1_2D

List of all members.


Detailed Description

This class defines the interface for a finite element.

Definition at line 98 of file ufc.h.


Public Member Functions

virtual shape cell_shape () const =0
 Return the cell shape.
virtual finite_elementcreate_sub_element (unsigned int i) const =0
 Create a new finite element for sub element i (for a mixed element).
virtual void evaluate_basis (unsigned int i, double *values, const double *coordinates, const cell &c) const =0
 Evaluate basis function i at given point in cell.
virtual void evaluate_basis_all (double *values, const double *coordinates, const cell &c) const
 Evaluate all basis functions at given point in cell.
virtual void evaluate_basis_derivatives (unsigned int i, unsigned int n, double *values, const double *coordinates, const cell &c) const =0
 Evaluate order n derivatives of basis function i at given point in cell.
virtual void evaluate_basis_derivatives_all (unsigned int n, double *values, const double *coordinates, const cell &c) const
 Evaluate order n derivatives of all basis functions at given point in cell.
virtual double evaluate_dof (unsigned int i, const function &f, const cell &c) const =0
 Evaluate linear functional for dof i on the function f.
virtual void evaluate_dofs (double *values, const function &f, const cell &c) const
 Evaluate linear functionals for all dofs on the function f.
 finite_element ()
 Constructor.
virtual void interpolate_vertex_values (double *vertex_values, const double *dof_values, const cell &c) const =0
 Interpolate vertex values from dof values.
virtual unsigned int num_sub_elements () const =0
 Return the number of sub elements (for a mixed element).
virtual const char * signature () const =0
 Return a string identifying the finite element.
virtual unsigned int space_dimension () const =0
 Return the dimension of the finite element function space.
virtual unsigned int value_dimension (unsigned int i) const =0
 Return the dimension of the value space for axis i.
virtual unsigned int value_rank () const =0
 Return the rank of the value space.
virtual ~finite_element ()
 Destructor.

Public Attributes

string finite_element_combined
string finite_element_header
string finite_element_implementation

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

Generated by  Doxygen 1.6.0   Back to index