2#define included_AMP_CladToSubchannelMap
4#include "AMP/operators/map/ScalarZAxisMap.h"
42 std::string
type()
const override {
return "CladToSubchannelMap"; }
71 std::vector<std::vector<int>>
73 std::vector<std::vector<int>>
82 std::vector<std::vector<AMP::Mesh::MeshElementID>>
d_elem;
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
std::shared_ptr< const Vector > const_shared_ptr
A class used to iterate over elements in a Mesh.
A base class for asynchronous map operations between meshes. A map operation involves two meshes and ...
A class used to map temperature from the clad meshes to the subchannel mesh.
AMP::Mesh::MeshIterator d_iterator2
int getSubchannelIndex(double x, double y)
std::vector< double * > d_sendBuffer
void applyStart(AMP::LinearAlgebra::Vector::const_shared_ptr u, AMP::LinearAlgebra::Vector::shared_ptr r) override
Start a communicative apply operation.
std::vector< std::vector< int > > d_subchannelSend
AMP::Mesh::MeshIterator d_iterator1
std::vector< std::vector< AMP::Mesh::MeshElementID > > d_elem
virtual ~CladToSubchannelMap()
Destructor.
std::vector< std::vector< int > > d_subchannelRanks
void fillSubchannelGrid(std::shared_ptr< AMP::Mesh::Mesh >)
CladToSubchannelMap(std::shared_ptr< const AMP::Operator::OperatorParameters > params)
Standard constructor.
std::vector< double > d_y
static bool validMapType(const std::string &s)
Returns true if MapType = "CladToSubchannelMapParameters".
std::string type() const override
Return the name of the operator.
void setVector(AMP::LinearAlgebra::Vector::shared_ptr result) override
Set a frozen vector for results of the apply operation.
static AMP::Mesh::MeshIterator getSubchannelIterator(std::shared_ptr< AMP::Mesh::Mesh >)
std::vector< AMP_MPI::Request > d_currRequests
CladToSubchannelMapParameters Parameters
Typedef to identify the parameters class of this operator.
std::vector< bool > d_ownSubChannel
void applyFinish(AMP::LinearAlgebra::Vector::const_shared_ptr u, AMP::LinearAlgebra::Vector::shared_ptr r) override
Finish a communicative apply operation.
size_t d_sendMaxBufferSize
std::vector< double > d_z
std::vector< double > d_x
std::shared_ptr< AMP::Operator::Operator > shared_ptr
AsyncMapOperatorParameters CladToSubchannelMapParameters