16 #include "libmesh/vector_value.h" 17 #include "libmesh/remote_elem.h" 219 "FaceInfo object 'const Elem & neighbor()' is called but neighbor element pointer " 220 "is null. This occurs for faces at the domain boundary");
227 mooseAssert(var_sys.second <
_face_types_by_var.size(),
"System number out of bounds!");
229 "Variable number out of bounds!");
236 mooseAssert(var_sys.second <
_face_types_by_var.size(),
"System number out of bounds!");
238 "Variable number out of bounds!");
246 "The neighbor is not defined on this faceInfo! A possible explanation is that the " 247 "face is a (physical/processor) boundary face.");
261 "The neighbor is not defined on this faceInfo! A possible explanation is that the " 262 "face is a (physical/processor) boundary face.");
const ElemInfo * _neighbor_info
processor_id_type processor_id() const
void computeInternalCoefficients(const ElemInfo *const neighbor_info)
Takes the ElemInfo of the neighbor cell and computes interpolation weights together with other quanti...
const std::set< BoundaryID > & boundaryIDs() const
Const getter for every associated boundary ID.
Point skewnessCorrectionVector() const
Returns the skewness-correction vector (vector between the approximate and real face centroids)...
Real elemVolume() const
Return the element volume.
const Elem & elem() const
const ElemInfo * neighborInfo() const
const Elem * elem() const
const Point & faceCentroid() const
Returns the coordinates of the face centroid.
friend MooseMesh
Allows access to private members from moose mesh only.
const ElemInfo * elemInfo() const
unsigned int elemSideID() const
std::set< BoundaryID > _boundary_ids
the set of boundary ids that this face is associated with
Real & faceCoord()
Sets/gets the coordinate transformation factor (for e.g.
const Point & neighborCentroid() const
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
std::set< BoundaryID > & boundaryIDs()
Returns the set of boundary ids for all boundaries that include this face.
Real faceArea() const
Returns the face area of face id.
unsigned int neighborSideID() const
FaceInfo(const ElemInfo *const elem_info, const unsigned int side, const dof_id_type id)
Real _d_cn_mag
the distance norm between neighbor and element centroids
std::vector< std::vector< VarFaceNeighbors > > & faceType()
Getter for the face type for every stored variable.
Real neighborVolume() const
Return the neighbor volume.
const SubdomainID INVALID_BLOCK_ID
SubdomainID elemSubdomainID() const
uint8_t processor_id_type
This data structure is used to store geometric and variable related metadata about each cell face in ...
const Point & centroid() const
Real _gc
Geometric weighting factor for face value interpolation.
const Elem * neighborPtr() const
const Point & elemCentroid() const
Returns the element centroids of the elements on the elem and neighbor sides of the face...
Real gC() const
Return the geometric weighting factor.
VarFaceNeighbors
This enum is used to indicate which side(s) of a face a particular variable is defined on...
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
const Elem & neighbor() const
const Point & normal() const
Returns the unit normal vector for the face oriented outward from the face's elem element...
const processor_id_type _processor_id
void computeBoundaryCoefficients()
Computes the interpolation weights and similar quantities with the assumption that the face is on a b...
const Elem * elemPtr() const
const unsigned int _elem_side_id
the elem local side id
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Point & eCN() const
unsigned int _neighbor_side_id
const ElemInfo *const _elem_info
the elem and neighbor elems
dof_id_type id() const
Return the ID of the face.
SubdomainID neighborSubdomainID() const
std::vector< std::vector< VarFaceNeighbors > > _face_types_by_var
A vector that provides the information about what face type this is for each variable.
Point _d_cn
the distance vector between neighbor and element centroids
Class used for caching additional information for elements such as the volume and centroid...
SubdomainID subdomain_id() const
We return the subdomain ID of the corresponding libmesh element.
const Point & dCN() const