MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::FaceNeighborGeometricFactors Class Reference

Class for accessing the geometric factors of face neighbor elements (i.e. across boundaries of MPI mesh partitions). More...

#include <face_nbr_geom.hpp>

Collaboration diagram for mfem::FaceNeighborGeometricFactors:
[legend]

Public Member Functions

 FaceNeighborGeometricFactors (const GeometricFactors &geom_)
 Communicate (if needed) to gather the face neighbor geometric factors.
 

Public Attributes

int num_neighbor_elems
 Number of face neighbor elements.
 
Geometric factor data arrays

These are stored with layout (NQ, VDIM, NE). See the documentation of GeometricFactors for more details.

Vector X
 Physical coordinates of the mesh.
 
Vector J
 Jacobian matrices.
 
Vector detJ
 Jacobian determinants.
 

Protected Member Functions

void ExchangeFaceNbrQVectors (const Vector &x_local, Vector &x_shared, const int vdim)
 Given a Q-vector x_local with vdim components, fill the face-neighbor Q-vector x_shared by communicating with neighboring MPI partitions.
 

Protected Attributes

const GeometricFactorsgeom
 The GeometricFactors of the Mesh.
 
Internal work arrays, used for MPI communication
Vector send_data
 
Array< int > send_offsets
 
Array< int > recv_offsets
 

Detailed Description

Class for accessing the geometric factors of face neighbor elements (i.e. across boundaries of MPI mesh partitions).

See also
GeometricFactors

Definition at line 26 of file face_nbr_geom.hpp.

Constructor & Destructor Documentation

◆ FaceNeighborGeometricFactors()

mfem::FaceNeighborGeometricFactors::FaceNeighborGeometricFactors ( const GeometricFactors & geom_)

Communicate (if needed) to gather the face neighbor geometric factors.

Definition at line 18 of file face_nbr_geom.cpp.

Member Function Documentation

◆ ExchangeFaceNbrQVectors()

void mfem::FaceNeighborGeometricFactors::ExchangeFaceNbrQVectors ( const Vector & x_local,
Vector & x_shared,
const int vdim )
protected

Given a Q-vector x_local with vdim components, fill the face-neighbor Q-vector x_shared by communicating with neighboring MPI partitions.

Definition at line 53 of file face_nbr_geom.cpp.

Member Data Documentation

◆ detJ

Vector mfem::FaceNeighborGeometricFactors::detJ

Jacobian determinants.

Definition at line 38 of file face_nbr_geom.hpp.

◆ geom

const GeometricFactors& mfem::FaceNeighborGeometricFactors::geom
protected

The GeometricFactors of the Mesh.

Definition at line 46 of file face_nbr_geom.hpp.

◆ J

Vector mfem::FaceNeighborGeometricFactors::J

Jacobian matrices.

Definition at line 37 of file face_nbr_geom.hpp.

◆ num_neighbor_elems

int mfem::FaceNeighborGeometricFactors::num_neighbor_elems

Number of face neighbor elements.

Definition at line 29 of file face_nbr_geom.hpp.

◆ recv_offsets

Array<int> mfem::FaceNeighborGeometricFactors::recv_offsets
protected

Definition at line 52 of file face_nbr_geom.hpp.

◆ send_data

Vector mfem::FaceNeighborGeometricFactors::send_data
protected

Definition at line 51 of file face_nbr_geom.hpp.

◆ send_offsets

Array<int> mfem::FaceNeighborGeometricFactors::send_offsets
protected

Definition at line 52 of file face_nbr_geom.hpp.

◆ X

Vector mfem::FaceNeighborGeometricFactors::X

Physical coordinates of the mesh.

Definition at line 36 of file face_nbr_geom.hpp.


The documentation for this class was generated from the following files: