1#ifndef DISTRIBUTED_VARIABLE_H
2#define DISTRIBUTED_VARIABLE_H
73 const int patch_index) = 0;
82 const int patch_index)
const = 0;
91 const int patch_index)
const = 0;
98 const std::string& subdomain,
Opaque Pointer object that carries the referenced data type, but does not expose this payload type as...
Definition: wmopaqueptr.h:81
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Provides an abstract interface for access to hierachical datasets.
Definition: wxiobase.h:25
Defines an interface for variables that exits over distributed memory.
Definition: distributed_variable.h:28
virtual wxm::array::patch_array_t & patch_array(const int component_index, const int patch_index)=0
Aquire a patch array for a specified component.
distributed_variable_t(const WmConstOpaquePtr &parent_solver)
Forces the distributed variable to be a base class.
const std::vector< std::string > & subdomain_names() const
Get a list of subdomains on which this distributed variable exists.
Definition: distributed_variable.h:42
bool on_subdomain(const std::string &subdomain_name) const
Check if this distributed variable exists on a given subdomain.
Definition: distributed_variable.h:52
std::vector< std::string > _virtual_subdomains
List of subdomains on which this distributed variable exists.
Definition: distributed_variable.h:106
virtual void setup(const WxCryptSet &wxc)
Setup the distributed variable.
std::vector< std::string > _subdomain_names
List of subdomains on which this distributed variable exists.
Definition: distributed_variable.h:103
virtual const wxm::array::patch_array_t & patch_array(const int component_index, const int patch_index) const =0
Aquire a patch array for a specified component.
virtual void load_subdomain_data(WxIoBase &io, int component_index, const std::string &subdomain, WxIoNodeType comp_group)=0
Loads data from file into a particular component/subdomain section.
virtual bool has_patch_array(const int component_index, const int patch_index) const =0
Query if the patch (or component) exist for a variable.
Definition: variable.h:22
int component_index(const std::string &component_name) const
Returns the component number associated with the componentName.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
Provides a means for derived messengers to return implimentation specific message status flags and da...
Definition: wxiotmpl.h:23