Advanced Multi-Physics (AMP)
On-Line Documentation
TractionBoundaryOperator.h
Go to the documentation of this file.
1
2#ifndef included_AMP_TractionBoundaryOperator
3#define included_AMP_TractionBoundaryOperator
4
5#include "AMP/operators/boundary/BoundaryOperator.h"
6#include "AMP/operators/boundary/libmesh/TractionBoundaryOperatorParameters.h"
7
8namespace AMP::Operator {
9
11{
12public:
14 std::shared_ptr<const TractionBoundaryOperatorParameters> params );
15
17
18 std::string type() const override { return "TractionBoundaryOperator"; }
19
22
24
25protected:
28 std::shared_ptr<AMP::LinearAlgebra::Variable> var );
29
31
32 std::shared_ptr<AMP::LinearAlgebra::Variable> d_var;
34 std::vector<double> d_traction;
35 std::vector<double> d_volumeElements;
36 std::vector<unsigned int> d_sideNumbers;
37 std::vector<AMP::Mesh::MeshElementID> d_nodeID;
39};
40} // namespace AMP::Operator
41
42#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< AMP::Operator::Operator > shared_ptr
Definition Operator.h:29
void apply(AMP::LinearAlgebra::Vector::const_shared_ptr, AMP::LinearAlgebra::Vector::shared_ptr f) override
TractionBoundaryOperator(std::shared_ptr< const TractionBoundaryOperatorParameters > params)
AMP::LinearAlgebra::Vector::shared_ptr mySubsetVector(AMP::LinearAlgebra::Vector::shared_ptr vec, std::shared_ptr< AMP::LinearAlgebra::Variable > var)
std::string type() const override
Return the name of the operator.
void addRHScorrection(AMP::LinearAlgebra::Vector::shared_ptr rhs) override
AMP::LinearAlgebra::Vector::shared_ptr d_correction
std::vector< AMP::Mesh::MeshElementID > d_nodeID
std::shared_ptr< AMP::LinearAlgebra::Variable > d_var



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