Sundance::MeshDomainBase Class Reference

Inheritance diagram for Sundance::MeshDomainBase:

Sundance::CurveDomain

List of all members.

Public Member Functions

 MeshDomainBase ()
virtual ~MeshDomainBase ()
virtual bool isInsideComputationalDomain (const Point &x) const


Detailed Description

Base class for mesh refinement , but also to define computational domain (which must not be the same as the mesh domain)

Definition at line 38 of file SundanceDomainDefinition.hpp.


Constructor & Destructor Documentation

Sundance::MeshDomainBase::MeshDomainBase (  )  [inline]

Definition at line 42 of file SundanceDomainDefinition.hpp.

virtual Sundance::MeshDomainBase::~MeshDomainBase (  )  [inline, virtual]

Definition at line 44 of file SundanceDomainDefinition.hpp.


Member Function Documentation

virtual bool Sundance::MeshDomainBase::isInsideComputationalDomain ( const Point x  )  const [inline, virtual]

Function to answer if the domain is inside the computational domain
The strategy should be that if one point of a cell is inside the domain, then the whole cell should be considered as in the computational domain.

Parameters:
x [in] coordinate of the point
Returns:
true if the point is inside the domain, false otherwise

Reimplemented in Sundance::CurveDomain.

Definition at line 51 of file SundanceDomainDefinition.hpp.

Site Contact