LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
|
Defines a set of interface classes that define a mesh manager and provides mesh-related tools that build on these interfaces. More...
Namespaces | |
namespace | hybrid2d |
An alternative implementation of a hybrid2d mesh manager that uses Pointers to store sub-entity relations. | |
namespace | test_utils |
Utilities for testing sanity of mesh data structures and tests involving meshes. | |
namespace | utils |
Contains helper functions and classes that all operate on the interface classes defined in lf::mesh. | |
Classes | |
class | Entity |
Interface class representing a topological entity in a cellular complex More... | |
class | Mesh |
Abstract interface for objects representing a single mesh. More... | |
class | MeshFactory |
Interface class for initialization of a mesh object. More... | |
Enumerations | |
enum class | Orientation : int { positive = 1 , negative = -1 } |
Relative orientation of a sub-entity. More... | |
Functions | |
int | to_sign (Orientation o) |
char | to_char (Orientation o) |
std::ostream & | operator<< (std::ostream &stream, const lf::mesh::Entity &entity) |
Operator overload to print the reference element of Entity to a stream, such as std::cout . | |
Defines a set of interface classes that define a mesh manager and provides mesh-related tools that build on these interfaces.
For a discussion of the functionality and design of mesh data structures see Lecture Document Subsection 2.7.2. A mathematical definition of a finite element mesh is given in Lecture Document Subsection 2.5.1.
|
strong |
Relative orientation of a sub-entity.
Relative orientation is a fundamental topological concept describing the relationship of of an entity and its subentities.
For 2D meshes it is mainly relevant for edges: If the intrinsic orientation of an edge defined by the ordering of its vertices agrees with the local orientation of that edge in a cell, its relative orientation is positive, otherwise negative.
Enumerator | |
---|---|
positive | |
negative |
std::ostream & lf::mesh::operator<< | ( | std::ostream & | stream, |
const lf::mesh::Entity & | entity ) |
Operator overload to print the reference element of Entity
to a stream, such as std::cout
.
stream | The stream to which this function should output |
entity | The entity to write to stream . |
Definition at line 20 of file entity.cc.
References lf::mesh::Entity::RefEl().
char lf::mesh::to_char | ( | Orientation | o | ) |
int lf::mesh::to_sign | ( | Orientation | o | ) |