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

dolfin::NewPDE Class Reference

EXPERIMENTAL: Redesign of the evaluation of variational forms. More...

#include <NewPDE.h>

Inheritance diagram for dolfin::NewPDE:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NewPDE (unsigned int size, bool interior, bool boundary)
 Constructor.

virtual ~NewPDE ()
 Destructor.

unsigned int size () const
 Return size of element matrix.

bool interior () const
 Return true if form contains integrals over interior of domain.

bool boundary () const
 Return true if form contains integrals over boundary of domain.

virtual unsigned int dim () const=0
 Return dimension of solution vector.

virtual unsigned int dof (unsigned int i, const Cell &cell) const=0
 Return map from local to global degree of freedom.

virtual const Pointcoord (unsigned int i, const Cell &cell) const=0
virtual void update (const Cell &cell)
 Update map.

virtual void interiorElementMatrix (real **A) const
 Compute interior element matrix.

virtual void boundaryElementMatrix (real **A) const
 Compute boundary element matrix.

virtual void interiorElementVector (NewArray< real > &b) const
 Compute interior element vector.

virtual void boundaryElementVector (NewArray< real > &b) const
 Compute boundary element vector.


Protected Member Functions

void add (NewArray< real > &w, Function &f)
 Add function pair (local and global).

void updateFunctions (const Cell &cell)
 Update functions.

void updateTriLinMap (const Cell &cell)
 Update affine map from reference triangle.

void updateTetLinMap (const Cell &cell)
 Update affine map from reference tetrahedron.


Protected Attributes

NewArray< IndexPairnonzero
real det
real f00
real f01
real f02
real f10
real f11
real f12
real f20
real f21
real f22
real g00
real g01
real g02
real g10
real g11
real g12
real g20
real g21
real g22
real t

Friends

class NewFEM
 Friends.


Detailed Description

EXPERIMENTAL: Redesign of the evaluation of variational forms.


Constructor & Destructor Documentation

NewPDE::NewPDE unsigned int  size,
bool  interior,
bool  boundary
 

Constructor.

NewPDE::~NewPDE  )  [virtual]
 

Destructor.


Member Function Documentation

void NewPDE::add NewArray< real > &  w,
Function f
[protected]
 

Add function pair (local and global).

bool NewPDE::boundary  )  const
 

Return true if form contains integrals over boundary of domain.

void NewPDE::boundaryElementMatrix real **  A  )  const [virtual]
 

Compute boundary element matrix.

void NewPDE::boundaryElementVector NewArray< real > &  b  )  const [virtual]
 

Compute boundary element vector.

virtual const Point& dolfin::NewPDE::coord unsigned int  i,
const Cell cell
const [pure virtual]
 

Return map from local degree of freedom to global coordinate FIXME: replace by projection operator

Implemented in dolfin::NewPoisson.

virtual unsigned int dolfin::NewPDE::dim  )  const [pure virtual]
 

Return dimension of solution vector.

Implemented in dolfin::NewPoisson, and dolfin::PoissonSystem.

virtual unsigned int dolfin::NewPDE::dof unsigned int  i,
const Cell cell
const [pure virtual]
 

Return map from local to global degree of freedom.

Implemented in dolfin::NewPoisson, and dolfin::PoissonSystem.

bool NewPDE::interior  )  const
 

Return true if form contains integrals over interior of domain.

void NewPDE::interiorElementMatrix real **  A  )  const [virtual]
 

Compute interior element matrix.

Reimplemented in dolfin::NewPoisson.

void NewPDE::interiorElementVector NewArray< real > &  b  )  const [virtual]
 

Compute interior element vector.

Reimplemented in dolfin::NewPoisson, and dolfin::PoissonSystem.

unsigned int NewPDE::size  )  const
 

Return size of element matrix.

void NewPDE::update const Cell cell  )  [virtual]
 

Update map.

void NewPDE::updateFunctions const Cell cell  )  [protected]
 

Update functions.

void NewPDE::updateTetLinMap const Cell cell  )  [protected]
 

Update affine map from reference tetrahedron.

void NewPDE::updateTriLinMap const Cell cell  )  [protected]
 

Update affine map from reference triangle.


Friends And Related Function Documentation

friend class NewFEM [friend]
 

Friends.


Member Data Documentation

real dolfin::NewPDE::det [protected]
 

real dolfin::NewPDE::f00 [protected]
 

real dolfin::NewPDE::f01 [protected]
 

real dolfin::NewPDE::f02 [protected]
 

real dolfin::NewPDE::f10 [protected]
 

real dolfin::NewPDE::f11 [protected]
 

real dolfin::NewPDE::f12 [protected]
 

real dolfin::NewPDE::f20 [protected]
 

real dolfin::NewPDE::f21 [protected]
 

real dolfin::NewPDE::f22 [protected]
 

real dolfin::NewPDE::g00 [protected]
 

real dolfin::NewPDE::g01 [protected]
 

real dolfin::NewPDE::g02 [protected]
 

real dolfin::NewPDE::g10 [protected]
 

real dolfin::NewPDE::g11 [protected]
 

real dolfin::NewPDE::g12 [protected]
 

real dolfin::NewPDE::g20 [protected]
 

real dolfin::NewPDE::g21 [protected]
 

real dolfin::NewPDE::g22 [protected]
 

NewArray<IndexPair> dolfin::NewPDE::nonzero [protected]
 

real dolfin::NewPDE::t [protected]
 


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


Documentation automatically generated with Doxygen on 10 Sep 2004.