Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

dolfin::Map Class Reference

#include <Map.h>

Inheritance diagram for dolfin::Map:

Inheritance graph
[legend]
Collaboration diagram for dolfin::Map:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Map ()
virtual ~Map ()
virtual Point operator() (const Point &p) const=0
 Evaluate map from reference cell.

virtual Point operator() (const Point &p, unsigned int boundary) const=0
real det () const
 Return determinant of derivative of map to interior of cell.

real bdet () const
 Return determinant of derivative of map to boundary of cell.

int boundary () const
 Return current boundary (triangle or tetrahedron) of cell.

const Cellcell () const
 Return current cell.

virtual void update (const Cell &cell)=0
 Update map to given cell.

virtual void update (const Edge &edge)
 Update map to cell of given edge.

virtual void update (const Face &face)
 Update map to cell of given face.

real ddx (real a) const
 Return derivative of constant.

real ddy (real a) const
real ddz (real a) const
real ddt (real a) const
virtual const FunctionSpace::ElementFunction ddx (const FunctionSpace::ShapeFunction &v) const=0
 Return derivative of shape function.

virtual const FunctionSpace::ElementFunction ddy (const FunctionSpace::ShapeFunction &v) const=0
virtual const FunctionSpace::ElementFunction ddz (const FunctionSpace::ShapeFunction &v) const=0
virtual const FunctionSpace::ElementFunction ddt (const FunctionSpace::ShapeFunction &v) const=0

Protected Member Functions

void reset ()

Protected Attributes

int dim
real f11
real f12
real f13
real f21
real f22
real f23
real f31
real f32
real f33
real g11
real g12
real g13
real g21
real g22
real g23
real g31
real g32
real g33
real d
real bd
int _boundary
const Cell_cell

Detailed Description

Map from reference cell to actual cell, including the derivative of the map and the inverse of the derivative.

It is assumed that the map is affine (constant determinant) and that the reference cells are given by

(0) - (1) in 1D

(0,0) - (1,0) in 2D

(0,0,0) - (1,0,0) - (0,1,0) - (0,0,1) in 3D


Constructor & Destructor Documentation

Map::Map  ) 
 

Map::~Map  )  [virtual]
 


Member Function Documentation

real Map::bdet  )  const
 

Return determinant of derivative of map to boundary of cell.

int Map::boundary  )  const
 

Return current boundary (triangle or tetrahedron) of cell.

const Cell & Map::cell  )  const
 

Return current cell.

virtual const FunctionSpace::ElementFunction dolfin::Map::ddt const FunctionSpace::ShapeFunction v  )  const [pure virtual]
 

Implemented in dolfin::P1IntMap, dolfin::P1TetMap, and dolfin::P1TriMap.

real Map::ddt real  a  )  const
 

virtual const FunctionSpace::ElementFunction dolfin::Map::ddx const FunctionSpace::ShapeFunction v  )  const [pure virtual]
 

Return derivative of shape function.

Implemented in dolfin::P1IntMap, dolfin::P1TetMap, and dolfin::P1TriMap.

real Map::ddx real  a  )  const
 

Return derivative of constant.

virtual const FunctionSpace::ElementFunction dolfin::Map::ddy const FunctionSpace::ShapeFunction v  )  const [pure virtual]
 

Implemented in dolfin::P1IntMap, dolfin::P1TetMap, and dolfin::P1TriMap.

real Map::ddy real  a  )  const
 

virtual const FunctionSpace::ElementFunction dolfin::Map::ddz const FunctionSpace::ShapeFunction v  )  const [pure virtual]
 

Implemented in dolfin::P1IntMap, dolfin::P1TetMap, and dolfin::P1TriMap.

real Map::ddz real  a  )  const
 

real Map::det  )  const
 

Return determinant of derivative of map to interior of cell.

virtual Point dolfin::Map::operator() const Point p,
unsigned int  boundary
const [pure virtual]
 

Evaluate map from reference boundary of reference cell to the given boundary on the current cell

Implemented in dolfin::P1IntMap, dolfin::P1TetMap, and dolfin::P1TriMap.

virtual Point dolfin::Map::operator() const Point p  )  const [pure virtual]
 

Evaluate map from reference cell.

Implemented in dolfin::P1IntMap, dolfin::P1TetMap, and dolfin::P1TriMap.

void Map::reset  )  [protected]
 

void Map::update const Face face  )  [virtual]
 

Update map to cell of given face.

Reimplemented in dolfin::P1TetMap.

void Map::update const Edge edge  )  [virtual]
 

Update map to cell of given edge.

Reimplemented in dolfin::P1TriMap.

virtual void dolfin::Map::update const Cell cell  )  [pure virtual]
 

Update map to given cell.

Implemented in dolfin::P1IntMap, dolfin::P1TetMap, and dolfin::P1TriMap.


Member Data Documentation

int dolfin::Map::_boundary [protected]
 

const Cell* dolfin::Map::_cell [protected]
 

real dolfin::Map::bd [protected]
 

real dolfin::Map::d [protected]
 

int dolfin::Map::dim [protected]
 

real dolfin::Map::f11 [protected]
 

real dolfin::Map::f12 [protected]
 

real dolfin::Map::f13 [protected]
 

real dolfin::Map::f21 [protected]
 

real dolfin::Map::f22 [protected]
 

real dolfin::Map::f23 [protected]
 

real dolfin::Map::f31 [protected]
 

real dolfin::Map::f32 [protected]
 

real dolfin::Map::f33 [protected]
 

real dolfin::Map::g11 [protected]
 

real dolfin::Map::g12 [protected]
 

real dolfin::Map::g13 [protected]
 

real dolfin::Map::g21 [protected]
 

real dolfin::Map::g22 [protected]
 

real dolfin::Map::g23 [protected]
 

real dolfin::Map::g31 [protected]
 

real dolfin::Map::g32 [protected]
 

real dolfin::Map::g33 [protected]
 


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


Documentation automatically generated with Doxygen on 10 Sep 2004.