Advanced Multi-Physics (AMP)
On-Line Documentation
OnePointOperator.h
Go to the documentation of this file.
1
2#ifndef included_AMP_OnePointOperator
3#define included_AMP_OnePointOperator
4
5#include "AMP/operators/Operator.h"
6
7namespace AMP::Operator {
8
10{
11public:
12 explicit OnePointOperator( std::shared_ptr<const OperatorParameters> params )
13 : Operator( params )
14 {
15 d_constant = 0.0;
16 }
17
18 std::string type() const override { return "OnePointOperator"; }
19
20 double getConstant() { return d_constant; }
21
22protected:
23 double d_constant;
24
25private:
26};
27} // namespace AMP::Operator
28
29#endif
std::string type() const override
Return the name of the operator.
OnePointOperator(std::shared_ptr< const OperatorParameters > params)



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