My Project
|
Represents all quantities which available on boundary segments. More...
#include <fvbaseboundarycontext.hh>
Public Member Functions | |
FvBaseBoundaryContext (const ElementContext &elemCtx) | |
The constructor. | |
void | increment () |
const Problem & | problem () const |
const Model & | model () const |
const GridView & | gridView () const |
const Element & | element () const |
const ElementContext & | elementContext () const |
Returns a reference to the element context object. | |
const GradientCalculator & | gradientCalculator () const |
Returns a reference to the current gradient calculator. | |
size_t | numDof (unsigned timeIdx) const |
size_t | numPrimaryDof (unsigned timeIdx) const |
size_t | numInteriorFaces (unsigned timeIdx) const |
size_t | numBoundaryFaces (unsigned timeIdx) const |
Return the number of boundary segments of the current element. | |
const Stencil & | stencil (unsigned timeIdx) const |
Vector | normal (unsigned boundaryFaceIdx, unsigned timeIdx) const |
Returns the outer unit normal of the boundary segment. | |
Scalar | boundarySegmentArea (unsigned boundaryFaceIdx, unsigned timeIdx) const |
Returns the area [m^2] of a given boudary segment. | |
const GlobalPosition & | pos (unsigned boundaryFaceIdx, unsigned timeIdx) const |
Return the position of a local entity in global coordinates. | |
const GlobalPosition & | cvCenter (unsigned boundaryFaceIdx, unsigned timeIdx) const |
Return the position of a control volume's center in global coordinates. | |
unsigned | focusDofIndex () const |
Return the local sub-control volume index upon which the linearization is currently focused. | |
unsigned | interiorScvIndex (unsigned boundaryFaceIdx, unsigned timeIdx) const |
Return the local sub-control volume index of the interior of a boundary segment. | |
unsigned | globalSpaceIndex (unsigned boundaryFaceIdx, unsigned timeIdx) const |
Return the global space index of the sub-control volume at the interior of a boundary segment. | |
const IntensiveQuantities & | intensiveQuantities (unsigned boundaryFaceIdx, unsigned timeIdx) const |
Return the intensive quantities for the finite volume in the interiour of a boundary segment. | |
const ExtensiveQuantities & | extensiveQuantities (unsigned boundaryFaceIdx, unsigned timeIdx) const |
Return the extensive quantities for a given boundary face. | |
const Intersection | intersection (unsigned) const |
Return the intersection for the neumann segment. | |
IntersectionIterator & | intersectionIt () |
Return the intersection for the neumann segment. | |
Protected Attributes | |
const ElementContext & | elemCtx_ |
IntersectionIterator | intersectionIt_ |
Represents all quantities which available on boundary segments.
|
inline |
Return the position of a control volume's center in global coordinates.
boundaryFaceIdx | The local index of the boundary segment |
timeIdx | The index of the solution used by the time discretization |
|
inline |
|
inline |
Return the extensive quantities for a given boundary face.
boundaryFaceIdx | The local index of the boundary segment |
timeIdx | The index of the solution used by the time discretization |
|
inline |
Return the global space index of the sub-control volume at the interior of a boundary segment.
boundaryFaceIdx | The local index of the boundary segment |
timeIdx | The index of the solution used by the time discretization |
|
inline |
|
inline |
Return the intensive quantities for the finite volume in the interiour of a boundary segment.
boundaryFaceIdx | The local index of the boundary segment |
timeIdx | The index of the solution used by the time discretization |
|
inline |
Return the local sub-control volume index of the interior of a boundary segment.
boundaryFaceIdx | The local index of the boundary segment |
timeIdx | The index of the solution used by the time discretization |
|
inline |
Return the intersection for the neumann segment.
TODO/HACK: The intersection should take a local index as an argument. since that's not supported efficiently by the DUNE grid interface, we just ignore the index argument here!
boundaryFaceIdx | The local index of the boundary segment |
|
inline |
Return the intersection for the neumann segment.
TODO/HACK: the intersection iterator can basically be considered as an index which is manipulated externally, but context classes should not store any indices. it is done this way for performance reasons
|
inline |
|
inline |
Returns the outer unit normal of the boundary segment.
boundaryFaceIdx | The local index of the boundary segment |
timeIdx | The index of the solution used by the time discretization |
|
inline |
|
inline |
|
inline |
|
inline |
Return the position of a local entity in global coordinates.
boundaryFaceIdx | The local index of the boundary segment |
timeIdx | The index of the solution used by the time discretization |
|
inline |
|
inline |