Advanced Multi-Physics (AMP)
On-Line Documentation
LinearBVPOperator.h
Go to the documentation of this file.
1#ifndef included_AMP_LinearBVPOperator
2#define included_AMP_LinearBVPOperator
3
4#include "AMP/operators/BVPOperatorParameters.h"
5#include "AMP/operators/LinearOperator.h"
6
7namespace AMP::Operator {
8
17{
18public:
30 explicit LinearBVPOperator( std::shared_ptr<const OperatorParameters> parameters );
31
35 virtual ~LinearBVPOperator() {}
36
38 std::string type() const override { return "LinearBVPOperator"; }
39
43 void reset( std::shared_ptr<const OperatorParameters> ) override;
44
45 std::shared_ptr<AMP::LinearAlgebra::Variable> getInputVariable() const override
46 {
47 return d_volumeOperator->getInputVariable();
48 }
49
50 std::shared_ptr<AMP::LinearAlgebra::Variable> getOutputVariable() const override
51 {
52 return d_volumeOperator->getOutputVariable();
53 }
54
55 std::shared_ptr<LinearOperator> getVolumeOperator() { return d_volumeOperator; }
56
57 std::shared_ptr<BoundaryOperator> getBoundaryOperator() { return d_boundaryOperator; }
58
60
61protected:
65 std::shared_ptr<LinearOperator> d_volumeOperator;
66
71 std::shared_ptr<BoundaryOperator> d_boundaryOperator;
72
73private:
74};
75} // namespace AMP::Operator
76
77#endif
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
Definition Vector.h:60
std::string type() const override
Return the name of the operator.
std::shared_ptr< LinearOperator > d_volumeOperator
void modifyRHSvector(AMP::LinearAlgebra::Vector::shared_ptr rhs)
void reset(std::shared_ptr< const OperatorParameters >) override
std::shared_ptr< BoundaryOperator > getBoundaryOperator()
std::shared_ptr< AMP::LinearAlgebra::Variable > getInputVariable() const override
Return the input variable.
LinearBVPOperator(std::shared_ptr< const OperatorParameters > parameters)
std::shared_ptr< LinearOperator > getVolumeOperator()
std::shared_ptr< AMP::LinearAlgebra::Variable > getOutputVariable() const override
Return the output variable.
std::shared_ptr< BoundaryOperator > d_boundaryOperator
std::shared_ptr< AMP::Operator::Operator > shared_ptr
Definition Operator.h:29



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:41.
Comments on this page