| 
    WARPXM v1.10.0
    
   | 
 
The patch_array_t class defines a dataset associated with a patch of the domain This class will be used for discontinuous FEM methods. More...
#include <patch_array.h>
  
The patch_array_t class defines a dataset associated with a patch of the domain This class will be used for discontinuous FEM methods.
Public Member Functions | |
| patch_array_t (const WmUnstructuredPatch &patch, const WxRange &element_range) | |
| Constructor for patch_array_t.   | |
| patch_array_t (const patch_array_t &other) | |
| Copy Constructor.   | |
| virtual | ~patch_array_t () | 
| Virtual Destructor.   | |
| const WmUnstructuredPatch & | patch () const | 
| Get the patch this array is setup for.   | |
| virtual void | dump (WxIoBase &io, WxIoNodeType &group_node, bool include_ghost_elements=false) const | 
| Write out the array to file.   | |
| virtual void | load (WxIoBase &io, const WxIoNodeType &group_node, bool include_ghost_elements=false) | 
| Load object from file.   | |
| const WxRange & | element_range () const | 
| Get the range of data associated with each mesh element.   | |
  Public Member Functions inherited from wxm::array::patch_array_t | |
| patch_array_t ()=default | |
| Default Constructor.   | |
| patch_array_t (const WxRange &range) | |
| Allocate the array for a given range.   | |
| patch_array_t (const patch_array_t &other)=default | |
| Copy Constructor.   | |
| virtual | ~patch_array_t () | 
| Destructor.   | |
| patch_array_t & | operator= (const patch_array_t &other) | 
| Assignment operator - makes a shallow copy.   | |
| const WxRange & | interior_range () const | 
| Returns range of interior of dataset.   | |
  Public Member Functions inherited from wxm::array::array_allocation_t< real > | |
| array_allocation_t ()=default | |
| Default Constructor.   | |
| array_allocation_t (const WxRange &range) | |
| Allocate the array for a given range.   | |
| array_allocation_t (const array_allocation_t &other)=default | |
| Copy Constructor.   | |
| virtual | ~array_allocation_t () | 
| Destructor.   | |
| array_allocation_t & | operator= (const array_allocation_t &other) | 
| Assignment operator - makes a shallow copy.   | |
| void | fill (const real &value) | 
| Fill array with a value.   | |
| real * | data () | 
| Access the underlying data array.   | |
| const real * | data () const | 
| virtual real & | operator[] (int index) | 
| virtual const real & | operator[] (int index) const | 
| real & | operator() (size_t i, size_t j) | 
| 2D array access   | |
| const real & | operator() (size_t i, size_t j) const | 
| 2D array access   | |
| const real & | operator() (size_t i, size_t j, size_t k) const | 
| 3D array access   | |
| real & | operator() (size_t i, size_t j, size_t k) | 
| 3D array access   | |
| const WxRange & | range () const | 
Protected Attributes | |
| const WmUnstructuredPatch & | _patch | 
| Patch associated with array.   | |
| WxRange | _element_range | 
| Range describing each element.   | |
| WxRange | _export_range | 
| Range describing data in export region.   | |
| WxRange | _import_range | 
| Range describing data in import region.   | |
| WxRange | _virtual_range | 
| Range describing data in virtual region.   | |
| WxRange | _global_range | 
| Range describing global dataset in subdomain - used for data io.   | |
| WxRange | _local_range | 
| Range describing local dataset in subdomain - used for data io.   | |
  Protected Attributes inherited from wxm::array::patch_array_t | |
| WxRange | _interior_range | 
| Range describing interior range of dataset.   | |
  Protected Attributes inherited from wxm::array::array_allocation_t< real > | |
| WxRange | _range | 
| Range of data.   | |
| std::shared_ptr< std::vector< real > > | _data | 
| Shared pointer containing data.   | |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const wxm::dfem::array::patch_array_t &array) | 
Additional Inherited Members | |
  Protected Member Functions inherited from wxm::array::array_allocation_t< real > | |
| void | copy (const array_allocation_t &other) | 
| void | link (const array_allocation_t &other) | 
| void | allocate () | 
| void | terminate () | 
| wxm::dfem::array::patch_array_t::patch_array_t | ( | const WmUnstructuredPatch & | patch, | 
| const WxRange & | element_range | ||
| ) | 
Constructor for patch_array_t.
| patch | Patch associated with dataset | 
| element_range | Range of data defined for each element | 
| wxm::dfem::array::patch_array_t::patch_array_t | ( | const patch_array_t & | other | ) | 
Copy Constructor.
      
  | 
  virtual | 
Virtual Destructor.
Reimplemented from wxm::array::patch_array_t.
      
  | 
  virtual | 
Write out the array to file.
| io | I/O object to use for writing | 
| grpNode | group node to write to | 
| writeGhostCellsToo | write external elements | 
      
  | 
  inline | 
Get the range of data associated with each mesh element.
      
  | 
  virtual | 
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 | 
| includeGhosts | read external elements | 
      
  | 
  inline | 
Get the patch this array is setup for.
      
  | 
  friend | 
      
  | 
  protected | 
Range describing each element.
      
  | 
  protected | 
Range describing data in export region.
      
  | 
  protected | 
Range describing global dataset in subdomain - used for data io.
      
  | 
  protected | 
Range describing data in import region.
      
  | 
  protected | 
Range describing local dataset in subdomain - used for data io.
      
  | 
  protected | 
Patch associated with array.
      
  | 
  protected | 
Range describing data in virtual region.