OGS
|
Holds shape matrices and integration weight.
This struct facilitates the handling of shape functions of different order defined on the same mesh element, e.g., for Taylor-Hood elements.
Definition at line 33 of file NsAndWeight.h.
#include <NsAndWeight.h>
Public Member Functions | |
NsAndWeight (ShapeMatrix &&N1, LowerOrderShapeMatrix &&N2, double const weight) | |
double | weight () const |
Eigen::Ref< const Eigen::RowVectorXd > | N (unsigned order) const |
ShapeMatrix const & | NHigherOrder () const |
Private Attributes | |
ShapeMatrix | N_higher_ |
LowerOrderShapeMatrix | N_lower_ |
double | weight_ |
|
inline |
Definition at line 43 of file NsAndWeight.h.
|
inline |
Definition at line 51 of file NsAndWeight.h.
References ProcessLib::BoundaryConditionAndSourceTerm::Python::NsAndWeight< ShapeFunction, LowerOrderShapeFunction, ShapeMatrix, LowerOrderShapeMatrix >::N_higher_, ProcessLib::BoundaryConditionAndSourceTerm::Python::NsAndWeight< ShapeFunction, LowerOrderShapeFunction, ShapeMatrix, LowerOrderShapeMatrix >::N_lower_, and OGS_FATAL.
Referenced by ProcessLib::BoundaryConditionAndSourceTerm::Python::BcAndStLocalAssemblerImpl< BcOrStData, ShapeFunction, LowerOrderShapeFunction, GlobalDim >::assembleLocalJacobian(), ProcessLib::BoundaryConditionAndSourceTerm::Python::BcAndStLocalAssemblerImpl< BcOrStData, ShapeFunction, LowerOrderShapeFunction, GlobalDim >::assembleLocalRhs(), and ProcessLib::BoundaryConditionAndSourceTerm::Python::interpolate().
|
inline |
Definition at line 70 of file NsAndWeight.h.
|
inline |
Definition at line 49 of file NsAndWeight.h.
Referenced by ProcessLib::BoundaryConditionAndSourceTerm::Python::BcAndStLocalAssemblerImpl< BcOrStData, ShapeFunction, LowerOrderShapeFunction, GlobalDim >::assembleLocalJacobian(), and ProcessLib::BoundaryConditionAndSourceTerm::Python::BcAndStLocalAssemblerImpl< BcOrStData, ShapeFunction, LowerOrderShapeFunction, GlobalDim >::assembleLocalRhs().
|
private |
Definition at line 73 of file NsAndWeight.h.
Referenced by ProcessLib::BoundaryConditionAndSourceTerm::Python::NsAndWeight< ShapeFunction, LowerOrderShapeFunction, ShapeMatrix, LowerOrderShapeMatrix >::N(), and ProcessLib::BoundaryConditionAndSourceTerm::Python::NsAndWeight< ShapeFunction, LowerOrderShapeFunction, ShapeMatrix, LowerOrderShapeMatrix >::NHigherOrder().
|
private |
Definition at line 74 of file NsAndWeight.h.
|
private |
Definition at line 75 of file NsAndWeight.h.
Referenced by ProcessLib::BoundaryConditionAndSourceTerm::Python::NsAndWeight< ShapeFunction, LowerOrderShapeFunction, ShapeMatrix, LowerOrderShapeMatrix >::weight(), and ProcessLib::BoundaryConditionAndSourceTerm::Python::NsAndWeight< ShapeFunction, ShapeFunction, ShapeMatrix, ShapeMatrix >::weight().