|
WARPXM v1.10.0
|
The UniqueSubdomainArray class is used to represent a scalar existing within a portion of the domain (subdomain) where vector size is 1. More...
#include <unique_subdomain_array.h>
The UniqueSubdomainArray class is used to represent a scalar existing within a portion of the domain (subdomain) where vector size is 1.
Public Types | |
| typedef std::map< int, wxm::dfem::array::UniquePatchArray * > | unique_patch_array_map |
Public Member Functions | |
| UniqueSubdomainArray (const WmDomain &domain, const std::string &subdomain_name, bool is_virtual, const WxRange &element_range) | |
| Constructor. | |
| virtual | ~UniqueSubdomainArray () |
| Destructor. | |
| void | fill (const real &value) |
| Fill subdomain with a value. | |
| virtual void | dump (WxIoBase &io, WxIoNodeType &group_node) const |
| Write out the array to file. | |
| virtual void | load (WxIoBase &io, const WxIoNodeType &group_node) |
| Load object from file. | |
| UniquePatchArray & | patch_array (const int patch_index) |
| Get the array associated with patch_index. | |
| const UniquePatchArray & | patch_array (const int patch_index) const |
| Get the array associated with patch_index. | |
| const std::string & | name () const |
| bool | is_virtual () const |
Protected Attributes | |
| const WmDomain & | _domain |
| Reference to domain object. | |
| std::string | _subdomain_name |
| Name of subdomain in mesh. | |
| unique_patch_array_map | _patch_array_map |
| Collection of patches found in subdomain. | |
| const WxRange & | _element_range |
| Range for each element. | |
| WxRange | _global_range |
| Global range of array. | |
| int | _mesh_id |
| Mesh id. | |
| bool | _is_virtual |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const wxm::dfem::array::UniqueSubdomainArray &array) |