|
WARPXM v1.10.0
|
Class for Unique Distributed Component. More...
#include <unique_distributed_variable.h>
Class for Unique Distributed Component.
Public Member Functions | |
| UniqueDistributedComponent (const WmDomain &domain, const std::vector< std::string > &subdomain_names, const std::vector< std::string > &virtual_subdomains, const WxRange &element_range) | |
| Constructor. | |
| ~UniqueDistributedComponent () | |
| Destructor. | |
| void | fill (const real &value) |
| Fill the distributed variable with a value for each component. | |
| wxm::dfem::array::UniquePatchArray & | patch_array (const int patch_index) |
| Aquire a patch array for a specified component. | |
| const wxm::dfem::array::UniquePatchArray & | patch_array (const int patch_index) const |
| Aquire a patch array for a specified component. | |
| bool | has_patch_array (const int patch_index) const |
| Check if patch array exists. | |
| void | dump (WxIoBase &io, WxIoNodeType &group_node) const |
| Write out the array to file. | |
| void | load (WxIoBase &io, const WxIoNodeType &group_node) |
| Load object from file. | |
| wxm::dfem::array::UniqueSubdomainArray * | get_subdomain_array (const std::string &subdomain) |
Protected Types | |
| typedef std::map< int, wxm::dfem::array::UniquePatchArray * > | patch_array_map_t |
| typedef std::map< std::string, wxm::dfem::array::UniqueSubdomainArray * > | subdomain_arrays_t |
Protected Attributes | |
| patch_array_map_t | _patch_array_map |
| subdomain_arrays_t | _subdomain_arrays |
| const WmDomain & | _domain |
| const std::vector< std::string > & | _subdomain_names |
| const std::vector< std::string > & | _virtual_subdomains |
| WxRange | _element_range |
|
protected |
|
protected |
| wxm::dfem::variable::UniqueDistributedComponent::UniqueDistributedComponent | ( | const WmDomain & | domain, |
| const std::vector< std::string > & | subdomain_names, | ||
| const std::vector< std::string > & | virtual_subdomains, | ||
| const WxRange & | element_range | ||
| ) |
Constructor.
| wxm::dfem::variable::UniqueDistributedComponent::~UniqueDistributedComponent | ( | ) |
Destructor.
| void wxm::dfem::variable::UniqueDistributedComponent::dump | ( | WxIoBase & | io, |
| WxIoNodeType & | group_node | ||
| ) | const |
Write out the array to file.
| io | I/O object to use for writing |
| grpNode | group node to write to |
| void wxm::dfem::variable::UniqueDistributedComponent::fill | ( | const real & | value | ) |
Fill the distributed variable with a value for each component.
| value | Value to fill component with |
| wxm::dfem::array::UniqueSubdomainArray * wxm::dfem::variable::UniqueDistributedComponent::get_subdomain_array | ( | const std::string & | subdomain | ) |
| bool wxm::dfem::variable::UniqueDistributedComponent::has_patch_array | ( | const int | patch_index | ) | const |
Check if patch array exists.
| patch_index | Patch of interest |
| void wxm::dfem::variable::UniqueDistributedComponent::load | ( | WxIoBase & | io, |
| const WxIoNodeType & | group_node | ||
| ) |
Load object from file.
This method is passed a group node from which its data should be read and then constructed.
| io | I/O object to use for writing |
| grpNode | group node to read from |
| wxm::dfem::array::UniquePatchArray & wxm::dfem::variable::UniqueDistributedComponent::patch_array | ( | const int | patch_index | ) |
Aquire a patch array for a specified component.
| component_index | Component of interest |
| patch_index | Patch of interest |
| const wxm::dfem::array::UniquePatchArray & wxm::dfem::variable::UniqueDistributedComponent::patch_array | ( | const int | patch_index | ) | const |
Aquire a patch array for a specified component.
| component_index | Component of interest |
| patch_index | Patch of interest |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |