Advanced Multi-Physics (AMP)
On-Line Documentation
ColumnBoundaryOperator.h
Go to the documentation of this file.
1
2#ifndef included_AMP_ColumnBoundaryOperator
3#define included_AMP_ColumnBoundaryOperator
4
5#include "AMP/operators/ColumnOperatorParameters.h"
6#include "AMP/operators/boundary/BoundaryOperator.h"
7#include "AMP/vectors/Vector.h"
8
9#include <vector>
10
11namespace AMP::Operator {
12
13
15
16
25{
26
27public:
28 explicit ColumnBoundaryOperator( std::shared_ptr<const OperatorParameters> params );
29
31
32 std::string type() const override { return "ColumnBoundaryOperator"; }
33
36
37 std::shared_ptr<OperatorParameters>
38 getParameters( const std::string &type,
40 std::shared_ptr<OperatorParameters> params = nullptr ) override;
41
42 void reset( std::shared_ptr<const OperatorParameters> params ) override;
43
47 virtual void append( std::shared_ptr<BoundaryOperator> op );
48
49 std::shared_ptr<BoundaryOperator> getBoundaryOperator( int i ) { return d_Operators[i]; }
50
51 size_t numberOfBoundaryOperators() { return d_Operators.size(); }
52
54
56
58
59protected:
60 std::vector<std::shared_ptr<BoundaryOperator>> d_Operators;
61
62private:
63};
64} // namespace AMP::Operator
65
66#endif
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
Definition Vector.h:60
std::shared_ptr< const Vector > const_shared_ptr
Definition Vector.h:65
std::shared_ptr< BoundaryOperator > getBoundaryOperator(int i)
std::string type() const override
Return the name of the operator.
std::vector< std::shared_ptr< BoundaryOperator > > d_Operators
void modifyInitialSolutionVector(AMP::LinearAlgebra::Vector::shared_ptr) override
void addRHScorrection(AMP::LinearAlgebra::Vector::shared_ptr) override
void setRHScorrection(AMP::LinearAlgebra::Vector::shared_ptr) override
ColumnBoundaryOperator(std::shared_ptr< const OperatorParameters > params)
virtual void append(std::shared_ptr< BoundaryOperator > op)
void reset(std::shared_ptr< const OperatorParameters > params) override
std::shared_ptr< OperatorParameters > getParameters(const std::string &type, AMP::LinearAlgebra::Vector::const_shared_ptr u, std::shared_ptr< OperatorParameters > params=nullptr) override
void apply(AMP::LinearAlgebra::Vector::const_shared_ptr u, AMP::LinearAlgebra::Vector::shared_ptr r) override
std::shared_ptr< AMP::Operator::Operator > shared_ptr
Definition Operator.h:29
ColumnOperatorParameters ColumnBoundaryOperatorParameters



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