Advanced Multi-Physics (AMP)
On-Line Documentation
AsyncMapColumnOperator.h
Go to the documentation of this file.
1#ifndef included_AMP_AsyncMapColumnOperator
2#define included_AMP_AsyncMapColumnOperator
3
4#include "AMP/mesh/Mesh.h"
5#include "AMP/operators/AsynchronousColumnOperator.h"
6#include "AMP/operators/AsynchronousColumnOperatorParameters.h"
7
8
9namespace AMP::Operator {
10
15
16
26{
27public:
30
32 explicit AsyncMapColumnOperator( std::shared_ptr<const OperatorParameters> params );
33
35 std::string type() const override { return "AsyncMapColumnOperator"; }
36
41
44
45 void append( std::shared_ptr<Operator> op ) override;
46
47 //@ Overload the apply operator to include makeConsistent
50
61 template<typename MAP_TYPE>
62 static std::shared_ptr<AsyncMapColumnOperator> build( std::shared_ptr<AMP::Mesh::Mesh> manager,
63 std::shared_ptr<AMP::Database> database );
64
65 //@ Function to determine if a makeConsistentSet is required
67
68
69 //@ Function to create database for the individual maps
70 static std::vector<std::shared_ptr<AMP::Database>>
71 createDatabases( std::shared_ptr<AMP::Database> database );
72
73private:
74 // Frozen vector for the output results
76};
77
78} // namespace AMP::Operator
79
80#include "AMP/operators/map/AsyncMapColumnOperator.tmpl.h"
81
82#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
A column of map operators used for Mesh to Mesh interactions through a mapping.
std::string type() const override
Return the name of the operator.
void append(std::shared_ptr< Operator > op) override
void setVector(AMP::LinearAlgebra::Vector::shared_ptr p)
Call setVector on all vectors in the column.
virtual AMP::LinearAlgebra::Vector::shared_ptr getFrozenVector()
Returns the frozen vector.
AsyncMapColumnOperator(std::shared_ptr< const OperatorParameters > params)
Empty constructor.
AsyncMapColumnOperator()
Default constructor.
void apply(AMP::LinearAlgebra::Vector::const_shared_ptr u, AMP::LinearAlgebra::Vector::shared_ptr f) override
static std::shared_ptr< AsyncMapColumnOperator > build(std::shared_ptr< AMP::Mesh::Mesh > manager, std::shared_ptr< AMP::Database > database)
A factory method.
AMP::LinearAlgebra::Vector::shared_ptr d_OutputVector
static std::vector< std::shared_ptr< AMP::Database > > createDatabases(std::shared_ptr< AMP::Database > database)
A column operator of asynchronous operators. The apply method will start the list of operators then f...
std::shared_ptr< AMP::Operator::Operator > shared_ptr
Definition Operator.h:29
AsynchronousColumnOperatorParameters AsyncMapColumnOperatorParameters
AsyncMapColumnOperator does not require parameters beyond those of AsynchronousColumnOperator.



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