#include <patches.hh>
Public Types | |
enum | PatchType { INNER , NEUMANN_NEUMANN , DIRICHLET_NEUMANN , NEUMANN_DIRICHLET , DIRICHLET_DIRICHLET , NOT_FEATURED_YET } |
typedef Sequence< quad_loc >::iterator | iterator |
typedef Sequence< quad_loc >::const_iterator | const_iterator |
Public Member Functions | |
ElementPatch () | |
ElementPatch (const ElementPatch &elmPatch) | |
bool | getPos (uint quadKey, uint &pos) const |
enum PatchType | patchType () const |
Boundary | getBoundaryEdgeType (uint i) const |
void | push_back (uint elmKey, uint i) |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
void | insert1st (uint elmKey, uint i) |
uint | size () const |
bool | type () const |
void | typeUpdateL (concepts::Boundary type) |
void | typeUpdateR (concepts::Boundary type) |
bool | exist (uint elmKey) |
quad_loc & | operator[] (uint pos) |
quad_loc | operator[] (uint pos) const |
Protected Member Functions | |
std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Class holding the informations of a regular patch. It is a special case of a concepts::Sequence with additional information of the type of the patch. At the moment there are 5 types supported : Inner, Neumann/Neumann, Neumann/Dirichlet, Dirichlet/Dirichlet, Dirichlet/Neumann. This class holds the keys for Elements around a vertex and is sorted and controlled in the controll classes VtxToPatchMaps and VtxtoElmSupportMap.
Definition at line 83 of file patches.hh.
Definition at line 99 of file patches.hh.
Definition at line 98 of file patches.hh.
enum geometry::ElementPatch::PatchType |
Definition at line 89 of file patches.hh.
|
inline |
Default Constructor. By default the Patch is a Inner Patch, this may be changed with the typeUpdateL or typeUpdateR routines.
Definition at line 106 of file patches.hh.
|
inline |
Copy Constructor.
Definition at line 114 of file patches.hh.
|
inlinevirtual |
Definition at line 122 of file patches.hh.
|
inline |
Definition at line 152 of file patches.hh.
|
inline |
Definition at line 156 of file patches.hh.
|
inline |
Definition at line 160 of file patches.hh.
|
inline |
Definition at line 164 of file patches.hh.
Checks for existing of a key of an element in the Patch.
Key | of the Element. |
Method that returns Boundary of the requested BoundaryEdges in the Patch ( i=0,1 ).
i | No of Edge. i = 0 First (left) boundary edge in the first Quad, i = 1 second (right) boundary edge in the last Quad. |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Access operator.
pos | Position for requested element key. |
Definition at line 225 of file patches.hh.
Read Operatpor
pos | Position for requested element key. |
Definition at line 235 of file patches.hh.
enum PatchType geometry::ElementPatch::patchType | ( | ) | const |
Method returns the type of the Element-Patch.
Method to insert a (unique) key of an Element. It is just inserted when not already existing.
elmKey | Key of the Element. |
|
inline |
Definition at line 182 of file patches.hh.
|
inline |
Method to tell the kind of the Elementpatch. It either returns 0 if the patch is an inner Patch or 1 if the patch is a boundary patch.
Definition at line 193 of file patches.hh.
|
inline |
Definition at line 204 of file patches.hh.
|
inline |
Definition at line 208 of file patches.hh.