MFEM v4.7.0
Finite element discretization library
|
#include <sbm_solver.hpp>
Public Member Functions | |
SBM2NeumannLFIntegrator (const ParMesh *pmesh, ShiftedFunctionCoefficient &u, VectorCoefficient &vD_, ShiftedVectorFunctionCoefficient &vN_, Array< int > &elem_marker_, int nterms_=0, bool include_cut_cell_=false, int ls_cut_marker_=ShiftedFaceMarker::SBElementType::CUT) | |
virtual void | AssembleRHSElementVect (const FiniteElement &el, ElementTransformation &Tr, Vector &elvect) |
virtual void | AssembleRHSElementVect (const FiniteElement &el, FaceElementTransformations &Tr, Vector &elvect) |
virtual void | AssembleRHSElementVect (const FiniteElement &el1, const FiniteElement &el2, FaceElementTransformations &Tr, Vector &elvect) |
bool | GetTrimFlag () const |
Public Member Functions inherited from mfem::LinearFormIntegrator | |
virtual bool | SupportsDevice () const |
Method probing for assembly on device. | |
virtual void | AssembleDevice (const FiniteElementSpace &fes, const Array< int > &markers, Vector &b) |
Method defining assembly on device. | |
virtual void | SetIntRule (const IntegrationRule *ir) |
const IntegrationRule * | GetIntRule () |
virtual | ~LinearFormIntegrator () |
Protected Attributes | |
ShiftedVectorFunctionCoefficient * | vN |
ShiftedFunctionCoefficient * | uN |
VectorCoefficient * | vD |
Array< int > * | elem_marker |
int | nterms |
bool | include_cut_cell |
int | NEproc |
int | par_shared_face_count |
int | ls_cut_marker |
Vector | shape |
Vector | nor |
Protected Attributes inherited from mfem::LinearFormIntegrator | |
const IntegrationRule * | IntRule |
Additional Inherited Members | |
Protected Member Functions inherited from mfem::LinearFormIntegrator | |
LinearFormIntegrator (const IntegrationRule *ir=NULL) | |
LinearFormIntegrator for Neumann boundaries using the shifted boundary method.
\[ (u, w) = \langle \hat{n} \cdot n \, t_n, w \rangle \]
where \(\hat{n}\) is the normal vector at the true boundary, \(n\) is the normal vector at the surrogate boundary, and \(t_n\) is the traction boundary condition. Since this interior face integrator is applied to the surrogate boundary (see marking.hpp for notes on how the surrogate faces are determined and elements are marked), this integrator adds contribution to only the element that is adjacent to that face (Trans.Elem1 or Trans.Elem2) and is part of the surrogate domain. Note that \(t_n\) is evaluated at the true boundary using the distance function and ShiftedFunctionCoefficient, i.e. \(t_n(x_{true}) = t_N(x_{surrogate} + D)\), where \(x_{surrogate}\) is the location of the integration point on the surrogate boundary and \(D\) is the distance vector from the surrogate boundary to the true boundary.
Definition at line 278 of file sbm_solver.hpp.
|
inline |
Definition at line 296 of file sbm_solver.hpp.
|
virtual |
Given a particular Finite Element and a transformation (Tr) computes the element vector, elvect.
Implements mfem::LinearFormIntegrator.
Definition at line 932 of file sbm_solver.cpp.
|
virtual |
Reimplemented from mfem::LinearFormIntegrator.
Definition at line 938 of file sbm_solver.cpp.
|
virtual |
Reimplemented from mfem::LinearFormIntegrator.
Definition at line 944 of file sbm_solver.cpp.
|
inline |
Definition at line 322 of file sbm_solver.hpp.
|
protected |
Definition at line 284 of file sbm_solver.hpp.
|
protected |
Definition at line 287 of file sbm_solver.hpp.
|
protected |
Definition at line 290 of file sbm_solver.hpp.
|
protected |
Definition at line 288 of file sbm_solver.hpp.
|
protected |
Definition at line 293 of file sbm_solver.hpp.
|
protected |
Definition at line 285 of file sbm_solver.hpp.
|
protected |
Definition at line 289 of file sbm_solver.hpp.
|
protected |
Definition at line 293 of file sbm_solver.hpp.
|
protected |
Definition at line 282 of file sbm_solver.hpp.
|
protected |
Definition at line 283 of file sbm_solver.hpp.
|
protected |
Definition at line 281 of file sbm_solver.hpp.