A minimal class to specify information about time history information being collected and output.  
 More...
#include <HistoryDataSpec.hpp>
A minimal class to specify information about time history information being collected and output. 
Definition at line 44 of file HistoryDataSpec.hpp.
 
◆ HistoryMetadata() [1/2]
Constructor for multi-dimensional array types. 
- Parameters
 - 
  
    | name | A name for the underlying information – used to specify the data name in time history files.  | 
    | rank | The rank of the array of data being collected.  | 
    | dims | The extent of each dimension of the array being collected.  | 
    | type | The std::type_index of the array being collected (std::type_index(typeid(T)))  | 
  
   
Definition at line 64 of file HistoryDataSpec.hpp.
 
 
◆ HistoryMetadata() [2/2]
  
  
      
        
          | geos::HistoryMetadata::HistoryMetadata  | 
          ( | 
          const string &  | 
          name,  | 
         
        
           | 
           | 
          localIndex  | 
          count,  | 
         
        
           | 
           | 
          std::type_index  | 
          type  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor for one-dimensional array types. 
- Parameters
 - 
  
    | name | A name for the underlying information – used to specify the data name in time history files.  | 
    | count | The extent of the one-dimensional array.  | 
    | type | The std::type_index of the array being collected (std::type_index(typeid(T)))  | 
  
   
Definition at line 76 of file HistoryDataSpec.hpp.
 
 
◆ getDims()
Get a pointer to the extent of each dimension. 
- Returns
 - The head of the array containing the dimensional extent of each dimension of the array data being collected. 
 
Definition at line 141 of file HistoryDataSpec.hpp.
 
 
◆ getName()
  
  
      
        
          | const string& geos::HistoryMetadata::getName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the name. 
- Returns
 - The name of the data being collected. 
 
Definition at line 95 of file HistoryDataSpec.hpp.
 
 
◆ getRank()
  
  
      
        
          | localIndex geos::HistoryMetadata::getRank  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the rank of the array data to be collected. 
- Returns
 - The rank. 
 
Definition at line 133 of file HistoryDataSpec.hpp.
 
 
◆ getType()
  
  
      
        
          | std::type_index geos::HistoryMetadata::getType  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the type of the collected data. 
- Returns
 - The std::type_index of the collected data. 
 
Definition at line 112 of file HistoryDataSpec.hpp.
 
 
◆ setName()
  
  
      
        
          | void geos::HistoryMetadata::setName  | 
          ( | 
          const string &  | 
          name | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Set the name. Typically used for metadata collectors to avoid writing data with the same name to the history output files. 
- Parameters
 - 
  
  
 
Definition at line 87 of file HistoryDataSpec.hpp.
 
 
◆ setType()
  
  
      
        
          | void geos::HistoryMetadata::setType  | 
          ( | 
          std::type_index  | 
          type | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Set the type. Typically used for metadata collectors where local metadata is used to produce and output global metadata. 
- Parameters
 - 
  
    | type | The std::type_index of the type being collected. (std::type_index(typeid(T)))  | 
  
   
Definition at line 104 of file HistoryDataSpec.hpp.
 
 
◆ size() [1/2]
◆ size() [2/2]
Get the size of the specified dimension. 
- Parameters
 - 
  
    | dim | The dimsion to get the extent off.  | 
  
   
- Returns
 - The extend of the dimension in the array data being collected. 
 
Definition at line 150 of file HistoryDataSpec.hpp.
 
 
The documentation for this class was generated from the following file: