MFEM  v4.3.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Attributes | List of all members
mfem::SBM2DirichletLFIntegrator Class Reference

#include <sbm_solver.hpp>

Inheritance diagram for mfem::SBM2DirichletLFIntegrator:
[legend]
Collaboration diagram for mfem::SBM2DirichletLFIntegrator:
[legend]

Public Member Functions

 SBM2DirichletLFIntegrator (const ParMesh *pmesh, ShiftedFunctionCoefficient &u, const double a, VectorCoefficient &vD_, Array< int > &elem_marker_, bool include_cut_cell_=false, int nterms_=0)
 
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)
 
- Public Member Functions inherited from mfem::LinearFormIntegrator
virtual void SetIntRule (const IntegrationRule *ir)
 
const IntegrationRuleGetIntRule ()
 
virtual ~LinearFormIntegrator ()
 

Protected Attributes

ShiftedFunctionCoefficientuD
 
double alpha
 
VectorCoefficientvD
 
Array< int > * elem_marker
 
bool include_cut_cell
 
int nterms
 
int NEproc
 
int par_shared_face_count
 
Vector shape
 
Vector dshape_dd
 
Vector dshape_dn
 
Vector nor
 
Vector nh
 
Vector ni
 
DenseMatrix dshape
 
DenseMatrix mq
 
DenseMatrix adjJ
 
- Protected Attributes inherited from mfem::LinearFormIntegrator
const IntegrationRuleIntRule
 

Additional Inherited Members

- Protected Member Functions inherited from mfem::LinearFormIntegrator
 LinearFormIntegrator (const IntegrationRule *ir=NULL)
 

Detailed Description

LinearFormIntegrator for the high-order extension of shifted boundary method. (u, w) = -<u_D, nabla w.n > -<alpha h^{-1} u_D, w + nabla w.d + h.o.t> where h.o.t include higher-order derivatives (nabla^k u) due to Taylor expansion. 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 u_D is evaluated at the true boundary using the distance function and ShiftedFunctionCoefficient, i.e. u_D(x_true) = u_D(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 112 of file sbm_solver.hpp.

Constructor & Destructor Documentation

mfem::SBM2DirichletLFIntegrator::SBM2DirichletLFIntegrator ( const ParMesh pmesh,
ShiftedFunctionCoefficient u,
const double  a,
VectorCoefficient vD_,
Array< int > &  elem_marker_,
bool  include_cut_cell_ = false,
int  nterms_ = 0 
)
inline

Definition at line 131 of file sbm_solver.hpp.

Member Function Documentation

void mfem::SBM2DirichletLFIntegrator::AssembleRHSElementVect ( const FiniteElement el,
ElementTransformation Tr,
Vector elvect 
)
virtual

Given a particular Finite Element and a transformation (Tr) computes the element vector, elvect.

Implements mfem::LinearFormIntegrator.

Definition at line 327 of file sbm_solver.cpp.

void mfem::SBM2DirichletLFIntegrator::AssembleRHSElementVect ( const FiniteElement el,
FaceElementTransformations Tr,
Vector elvect 
)
virtual

Reimplemented from mfem::LinearFormIntegrator.

Definition at line 333 of file sbm_solver.cpp.

void mfem::SBM2DirichletLFIntegrator::AssembleRHSElementVect ( const FiniteElement el1,
const FiniteElement el2,
FaceElementTransformations Tr,
Vector elvect 
)
virtual

Reimplemented from mfem::LinearFormIntegrator.

Definition at line 339 of file sbm_solver.cpp.

Member Data Documentation

DenseMatrix mfem::SBM2DirichletLFIntegrator::adjJ
protected

Definition at line 128 of file sbm_solver.hpp.

double mfem::SBM2DirichletLFIntegrator::alpha
protected

Definition at line 116 of file sbm_solver.hpp.

DenseMatrix mfem::SBM2DirichletLFIntegrator::dshape
protected

Definition at line 128 of file sbm_solver.hpp.

Vector mfem::SBM2DirichletLFIntegrator::dshape_dd
protected

Definition at line 127 of file sbm_solver.hpp.

Vector mfem::SBM2DirichletLFIntegrator::dshape_dn
protected

Definition at line 127 of file sbm_solver.hpp.

Array<int>* mfem::SBM2DirichletLFIntegrator::elem_marker
protected

Definition at line 118 of file sbm_solver.hpp.

bool mfem::SBM2DirichletLFIntegrator::include_cut_cell
protected

Definition at line 120 of file sbm_solver.hpp.

DenseMatrix mfem::SBM2DirichletLFIntegrator::mq
protected

Definition at line 128 of file sbm_solver.hpp.

int mfem::SBM2DirichletLFIntegrator::NEproc
protected

Definition at line 123 of file sbm_solver.hpp.

Vector mfem::SBM2DirichletLFIntegrator::nh
protected

Definition at line 127 of file sbm_solver.hpp.

Vector mfem::SBM2DirichletLFIntegrator::ni
protected

Definition at line 127 of file sbm_solver.hpp.

Vector mfem::SBM2DirichletLFIntegrator::nor
protected

Definition at line 127 of file sbm_solver.hpp.

int mfem::SBM2DirichletLFIntegrator::nterms
protected

Definition at line 121 of file sbm_solver.hpp.

int mfem::SBM2DirichletLFIntegrator::par_shared_face_count
protected

Definition at line 124 of file sbm_solver.hpp.

Vector mfem::SBM2DirichletLFIntegrator::shape
protected

Definition at line 127 of file sbm_solver.hpp.

ShiftedFunctionCoefficient* mfem::SBM2DirichletLFIntegrator::uD
protected

Definition at line 115 of file sbm_solver.hpp.

VectorCoefficient* mfem::SBM2DirichletLFIntegrator::vD
protected

Definition at line 117 of file sbm_solver.hpp.


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