Class for Unique Distributed Variable.
|
| UniqueDistributedVariable (const WmConstOpaquePtr &parentPointer) |
| Constructor.
|
|
| ~UniqueDistributedVariable () override |
| Destructor.
|
|
void | setup (const WxCryptSet &wxc) override |
| Setup object using supplied crypset.
|
|
void | fill (const std::vector< real > &values) override |
| For each component, apply a fill value throughout the domain.
|
|
void | swap (variable_t &other) override |
| Swap the internal data storage of this variable with otherVar leaving the outer shell the same, given both have same size and properties.
|
|
bool | check_compatible (const variable_t &other) const override |
| Compares this variable to another supplied variable_t and report if they are swap compatible.
|
|
void | dump (WxIoBase &io, WxIoNodeType &group_node) const override |
| Dump object to file.
|
|
void | load (WxIoBase &io, const WxIoNodeType &group_node) override |
| Load object from file.
|
|
wxm::array::patch_array_t & | patch_array (const int component_index, const int patch_index) override |
| Acquire a patch array for a specified component.
|
|
const wxm::array::patch_array_t & | patch_array (const int component_index, const int patch_index) const override |
| Acquire a patch array for a specified component.
|
|
bool | has_patch_array (const int component_index, const int patch_index) const override |
| Query if the patch (or component) exist for a variable.
|
|
void | load_subdomain_data (WxIoBase &io, int component_index, const std::string &subdomain, WxIoNodeType comp_group) override |
| Loads data from file into a particular component/subdomain section.
|
|
virtual void | setup (const WxCryptSet &wxc) |
| Setup the distributed variable.
|
|
const std::vector< std::string > & | subdomain_names () const |
| Get a list of subdomains on which this distributed variable exists.
|
|
bool | on_subdomain (const std::string &subdomain_name) const |
| Check if this distributed variable exists on a given subdomain.
|
|
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.
|
|
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 bool | has_patch_array (const int component_index, const int patch_index) const =0 |
| Query if the patch (or component) exist for a variable.
|
|
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 | ~variable_t () |
| Destroy object.
|
|
virtual void | setup (const WxCryptSet &wxc) |
| Setup object using supplied crypset.
|
|
virtual void | fill (const std::vector< real > &values)=0 |
| For each component, apply a fill value throughout the domain.
|
|
virtual void | swap (variable_t &other)=0 |
| Swap the internal data storage of this variable with otherVar leaving the outer shell the same, given both have same size and properties.
|
|
virtual bool | check_compatible (const variable_t &other) const =0 |
| Compares this variable to another supplied variable_t and report if they are swap compatible.
|
|
virtual void | dump (WxIoBase &io, WxIoNodeType &group_node) const |
| Dump object to file.
|
|
virtual void | load (WxIoBase &io, const WxIoNodeType &group_node) |
| Load object from file.
|
|
bool | has_component (const std::string &component_name) const |
| Check if this variable has a component matching the name supplied.
|
|
int | num_components () const |
| Returns number of components represented in the variable.
|
|
const std::vector< std::string > & | component_names () const |
| Get names of all components.
|
|
int | component_index (const std::string &component_name) const |
| Returns the component number associated with the componentName.
|
|
const std::string & | component_name (const int component_index) const |
| Returns the component name for a given index.
|
|
const WmSolverBase & | get_parent () const |
| Get the parent solver.
|
|
virtual | ~WxObject () |
| Dtor: destroy object.
|
|
void | setIo (WxIoBase &io) |
| Set the I/O pointer for use in object.
|
|
void | setMsg (WxMsgBase &msg) |
| Set the msg pointer for use in object.
|
|
WxIoBase & | getIo () |
| Return reference to I/O object.
|
|
const WxIoBase & | getIo () const |
| Return constant reference to I/O object.
|
|
WxMsgBase & | getMsg () |
| Return reference to msg object.
|
|
const WxMsgBase & | getMsg () const |
| Return const reference to msg object.
|
|
virtual void | setup (const WxCryptSet &wxc) |
| Setup object using supplied crypset.
|
|
virtual void | init () |
| Initialize the object.
|
|
virtual void | finishBuild () |
| Finish building the object.
|
|
virtual void | load (WxIoBase &io, const WxIoNodeType &grpNode) |
| Load object from file.
|
|
virtual void | dump (WxIoBase &io, WxIoNodeType &grpNode) const |
| Dump object to file.
|
|
virtual std::string | name () const |
| Get name of object.
|
|
void | setName (const std::string &nm) |
| Set object's name.
|
|