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

ufc::dof_map Class Reference

#include <ufc.h>

Inheritance diagram for ufc::dof_map:

PoissonBilinearForm_dof_map_0 PoissonBilinearForm_dof_map_1 pycc::dof_map_Lagrange_1_2D

List of all members.

Detailed Description

This class defines the interface for a local-to-global mapping of degrees of freedom (dofs).

Definition at line 176 of file ufc.h.

Public Member Functions

virtual dof_mapcreate_sub_dof_map (unsigned int i) const =0
 Create a new dof_map for sub dof map i (for a mixed element).
 dof_map ()
virtual unsigned int geometric_dimension () const
virtual unsigned int global_dimension () const =0
 Return the dimension of the global finite element function space.
virtual void init_cell (const mesh &m, const cell &c)=0
 Initialize dof map for given cell.
virtual void init_cell_finalize ()=0
 Finish initialization of dof map for cells.
virtual bool init_mesh (const mesh &mesh)=0
 Initialize dof map for mesh (return true iff init_cell() is needed).
virtual unsigned int local_dimension (const cell &c) const =0
 Return the dimension of the local finite element function space for a cell.
virtual unsigned int max_local_dimension () const =0
 Return the maximum dimension of the local finite element function space.
virtual bool needs_mesh_entities (unsigned int d) const =0
 Return true iff mesh entities of topological dimension d are needed.
virtual unsigned int num_entity_dofs (unsigned int d) const
 Return the number of dofs associated with each cell entity of dimension d.
virtual unsigned int num_facet_dofs () const =0
 Return the number of dofs on each cell facet.
virtual unsigned int num_sub_dof_maps () const =0
 Return the number of sub dof maps (for a mixed element).
virtual const char * signature () const =0
 Return a string identifying the dof map.
virtual void tabulate_coordinates (double **coordinates, const cell &c) const =0
 Tabulate the coordinates of all dofs on a cell.
virtual void tabulate_dofs (unsigned int *dofs, const mesh &m, const cell &c) const =0
 Tabulate the local-to-global mapping of dofs on a cell.
virtual void tabulate_entity_dofs (unsigned int *dofs, unsigned int d, unsigned int i) const
 Tabulate the local-to-local mapping of dofs on entity (d, i).
virtual void tabulate_facet_dofs (unsigned int *dofs, unsigned int facet) const =0
 Tabulate the local-to-local mapping from facet dofs to cell dofs.
virtual ~dof_map ()

Public Attributes

string dof_map_combined
string dof_map_header
string dof_map_implementation

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

Generated by  Doxygen 1.6.0   Back to index