DOLFIN
DOLFIN C++ interface
|
A Face is a MeshEntity of topological dimension 2. More...
#include <Face.h>
Public Member Functions | |
Face (const Mesh &mesh, std::size_t index) | |
Constructor. | |
~Face () | |
Destructor. | |
double | area () const |
Calculate the area of the face (triangle) | |
double | normal (std::size_t i) const |
Compute component i of the normal to the face. | |
Point | normal () const |
Compute normal to the face. | |
Public Member Functions inherited from dolfin::MeshEntity | |
MeshEntity () | |
Default Constructor. | |
MeshEntity (const Mesh &mesh, std::size_t dim, std::size_t index) | |
virtual | ~MeshEntity () |
Destructor. | |
void | init (const Mesh &mesh, std::size_t dim, std::size_t index) |
bool | operator== (const MeshEntity &e) const |
bool | operator!= (const MeshEntity &e) const |
const Mesh & | mesh () const |
std::size_t | dim () const |
std::size_t | index () const |
std::int64_t | global_index () const |
std::size_t | num_entities (std::size_t dim) const |
std::size_t | num_global_entities (std::size_t dim) const |
const unsigned int * | entities (std::size_t dim) const |
std::size_t | mesh_id () const |
bool | incident (const MeshEntity &entity) const |
std::size_t | index (const MeshEntity &entity) const |
Point | midpoint () const |
bool | is_ghost () const |
std::set< unsigned int > | sharing_processes () const |
bool | is_shared () const |
unsigned int | owner () const |
std::string | str (bool verbose) const |
Additional Inherited Members | |
Protected Attributes inherited from dolfin::MeshEntity | |
Mesh const * | _mesh |
std::size_t | _dim |
std::size_t | _local_index |
A Face is a MeshEntity of topological dimension 2.