Class for a sub control volume face in the staggered method, i.e a part of the boundary of a sub control volume we compute fluxes on. This is a specialization for free flow models.
|
| | FreeFlowStaggeredSubControlVolumeFace ()=default |
| |
| template<class Intersection> |
| | FreeFlowStaggeredSubControlVolumeFace (const Intersection &is, const typename Intersection::Geometry &isGeometry, GridIndexType scvfIndex, const std::vector< GridIndexType > &scvIndices, const typename T::GeometryHelper &geometryHelper) |
| | Constructor with intersection.
|
| |
| const GlobalPosition & | center () const |
| | The center of the sub control volume face.
|
| |
| const GlobalPosition & | dofPosition () const |
| | The position of the dof living on the face.
|
| |
| const GlobalPosition & | ipGlobal () const |
| | The integration point for flux evaluations in global coordinates.
|
| |
| Scalar | area () const |
| | The area of the sub control volume face.
|
| |
| bool | boundary () const |
| | Returns boolean if the sub control volume face is on the boundary.
|
| |
| const GlobalPosition & | unitOuterNormal () const |
| | The unit outer normal vector.
|
| |
| GridIndexType | insideScvIdx () const |
| | Index of the inside sub control volume for spatial param evaluation.
|
| |
| GridIndexType | outsideScvIdx () const |
| | index of the outside sub control volume for spatial param evaluation
|
| |
| GridIndexType | index () const |
| | The global index of this sub control volume face.
|
| |
| LocalIndexType | localFaceIdx () const |
| | The local index of this sub control volume face.
|
| |
| unsigned int | directionIndex () const |
| | Returns the direction index of the facet (0 = x, 1 = y, 2 = z)
|
| |
| bool | normalInPosCoordDir () const |
| | Returns whether the unitNormal of the face points in positive coordinate direction.
|
| |
| int | directionSign () const |
| | Returns the sign of the unit outer normal's vector.
|
| |
| const PairData & | pairData (const int idx) const |
| | Returns the data for one sub face.
|
| |
| const std::array< PairData, numPairs > & | pairData () const |
| | Return an array of all pair data.
|
| |
| const AxisData & | axisData () const |
| | Return an array of all pair data.
|
| |
| bool | isGhostFace () const |
| | Returns true if the face is a ghost face.
|
| |
| Scalar | faceLength (const int localSubFaceIdx) const |
| | Returns the length of the face in a certain direction (adaptation of area() for 3d)
|
| |
| bool | hasParallelNeighbor (const int localSubFaceIdx, const int parallelDegreeIdx) const |
| | Check if the face has a parallel neighbor.
|
| |
| bool | hasHalfParallelNeighbor (const int localSubFaceIdx) const |
| | Check if the face has a half parallel neighbor.
|
| |
| bool | hasCornerParallelNeighbor (const int localSubFaceIdx) const |
| | Check if the face has a corner parallel neighbor.
|
| |
| bool | hasOuterLateral (const int localSubFaceIdx) const |
| | Check if the face has an outer normal neighbor.
|
| |
| template<bool enable = useHigherOrder, std::enable_if_t< enable, int > = 0> |
| bool | hasBackwardNeighbor (const int backwardIdx) const |
| | Check if the face has a backward neighbor.
|
| |
| template<bool enable = useHigherOrder, std::enable_if_t< enable, int > = 0> |
| bool | hasForwardNeighbor (const int forwardIdx) const |
| | Check if the face has a forward neighbor.
|
| |
| GridIndexType | dofIndex () const |
| | Returns the dof of the face.
|
| |
| GridIndexType | dofIndexOpposingFace () const |
| | Returns the dof of the opposing face.
|
| |
| GridIndexType | dofIndexForwardFace () const |
| | Returns the dof the first forward face.
|
| |
| GridIndexType | dofIndexBackwardFace () const |
| | Returns the dof of the first backward face.
|
| |
| Scalar | selfToOppositeDistance () const |
| | Returns the distance between the face and the opposite one.
|
| |
| Scalar | parallelDofsDistance (const int localSubFaceIdx, const int parallelDegreeIdx) const |
| | Returns the distance between the parallel dofs.
|
| |
| void | setCenter (const GlobalPosition ¢er) |
| | set the center to a different position
|
| |
| void | setBoundary (bool boundaryFlag) |
| | set the boundary flag
|
| |
| void | setIsGhostFace (bool isGhostFaceFlag) |
| | set the ghost face flag
|
| |
| GridIndexType | outsideScvIdx (int i=0) const |
| |
template<class GV, int upwindSchemeOrder, class T = FreeFlowStaggeredDefaultScvfGeometryTraits<GV, upwindSchemeOrder>>
- Parameters
-
| localSubFaceIdx | The local index of the subface |
| yyyyyyyy s | yyyyyyyy s
| yyyyyyyy s
In this corner geometry, hasParallelNeighbor will return true for subcontrolvolumeface s belonging to the element filled by 'y's. However, as there also might be a boundary velocity value known at the corner, which can be used instead of the standard parallel velocity in some cases, we want to identify this situation. We name it cornerParallelNeighbor.