Implements a fake quadrature rule where you can specify the locations (in the reference domain) of the quadrature points. More...
#include <ArbitraryQuadrature.h>
Public Member Functions | |
ArbitraryQuadrature (const unsigned int _dim, const Order _order=INVALID_ORDER) | |
ArbitraryQuadrature (const ArbitraryQuadrature &)=default | |
Copy/move ctor, copy/move assignment operator, and destructor are all explicitly defaulted for this simple class. More... | |
ArbitraryQuadrature (ArbitraryQuadrature &&)=default | |
ArbitraryQuadrature & | operator= (const ArbitraryQuadrature &)=default |
ArbitraryQuadrature & | operator= (ArbitraryQuadrature &&)=default |
virtual | ~ArbitraryQuadrature ()=default |
QuadratureType | type () const override |
void | setPoints (const std::vector< Point > &points) |
Set the quadrature points. More... | |
void | setWeights (const std::vector< Real > &weights) |
Set the quadrature weights. More... | |
virtual bool | shapes_need_reinit () override |
virtual std::unique_ptr< QBase > | clone () const override |
Private Member Functions | |
void | init_1D (const ElemType _type=INVALID_ELEM, unsigned int p_level=0) override |
These functions must be defined to fulfill the interface expected by the quadrature initialization routines. More... | |
void | init_2D (const ElemType _type=INVALID_ELEM, unsigned int p_level=0) override |
void | init_3D (const ElemType _type=INVALID_ELEM, unsigned int p_level=0) override |
Implements a fake quadrature rule where you can specify the locations (in the reference domain) of the quadrature points.
Definition at line 21 of file ArbitraryQuadrature.h.
ArbitraryQuadrature::ArbitraryQuadrature | ( | const unsigned int | _dim, |
const Order | _order = INVALID_ORDER |
||
) |
Definition at line 15 of file ArbitraryQuadrature.C.
|
default |
Copy/move ctor, copy/move assignment operator, and destructor are all explicitly defaulted for this simple class.
|
default |
|
virtualdefault |
|
overridevirtual |
Definition at line 18 of file ArbitraryQuadrature.C.
|
overrideprivate |
These functions must be defined to fulfill the interface expected by the quadrature initialization routines.
Please do not modify the function names or signatures.
Definition at line 43 of file ArbitraryQuadrature.C.
|
overrideprivate |
Definition at line 50 of file ArbitraryQuadrature.C.
|
overrideprivate |
Definition at line 57 of file ArbitraryQuadrature.C.
|
default |
|
default |
void ArbitraryQuadrature::setPoints | ( | const std::vector< Point > & | points | ) |
Set the quadrature points.
Note that this also sets the quadrature weights to unity
Definition at line 30 of file ArbitraryQuadrature.C.
Referenced by MooseVariableFE< Real >::evaluate(), Assembly::reinit(), Assembly::reinitLowerDElem(), and Assembly::reinitNeighborFaceRef().
Set the quadrature weights.
Definition at line 37 of file ArbitraryQuadrature.C.
Referenced by Assembly::reinitLowerDElem().
|
inlineoverridevirtual |
Definition at line 48 of file ArbitraryQuadrature.h.
|
override |
Definition at line 24 of file ArbitraryQuadrature.C.