1#ifndef included_AMP_MassMatrixCorrection
2#define included_AMP_MassMatrixCorrection
4#include "AMP/operators/boundary/BoundaryOperator.h"
5#include "AMP/operators/boundary/DirichletMatrixCorrectionParameters.h"
6#include "AMP/vectors/Variable.h"
32 std::string
type()
const override {
return "MassMatrixCorrection"; }
55 void reset( std::shared_ptr<const OperatorParameters> )
override;
59 std::shared_ptr<AMP::LinearAlgebra::Variable>
d_variable;
65 std::vector<std::vector<unsigned int>>
d_dofIds;
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
std::shared_ptr< const Vector > const_shared_ptr
void apply(AMP::LinearAlgebra::Vector::const_shared_ptr, AMP::LinearAlgebra::Vector::shared_ptr) override
MassMatrixCorrection(std::shared_ptr< const OperatorParameters > params)
Constructor.
std::vector< short int > d_boundaryIds
std::string type() const override
Return the name of the operator.
void resetBoundaryIds(std::shared_ptr< const MassMatrixCorrectionParameters >)
std::shared_ptr< AMP::LinearAlgebra::Variable > d_variable
void reset(std::shared_ptr< const OperatorParameters >) override
bool d_bSetIdentityOnDiagonal
void setVariable(const std::shared_ptr< AMP::LinearAlgebra::Variable > &var)
std::vector< std::vector< unsigned int > > d_dofIds
virtual ~MassMatrixCorrection()
Destructor.
std::shared_ptr< AMP::Operator::Operator > shared_ptr
DirichletMatrixCorrectionParameters MassMatrixCorrectionParameters