Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tpzone Class Reference

#include <partition.h>

Inheritance diagram for tpzone:
Collaboration diagram for tpzone:

Public Member Functions

 tpzone (string *zheader, string *zdata)
 
virtual ~tpzone ()
 
- Public Member Functions inherited from partition
 partition ()
 
virtual ~partition ()
 
std::vector< int > get_layout ()
 
virtual void parse_layout ()
 
virtual bool parse_data (int num_dep_vars, int num_vars, std::vector< std::vector< int > > rFieldMappings, index_order rIndexOrder, std::vector< adj_map > conv_factor, std::vector< adj_map > norm_val)
 
string get_error ()
 
string get_status ()
 
int get_num_points ()
 
pointsget_points ()
 
pnt get_point (int n)
 

Protected Attributes

string * zheader
 
string * zdata
 
- Protected Attributes inherited from partition
std::vector< int > p_layout
 
string error
 
string status
 
pointsdata_pts
 
bool data_pts_set
 

Additional Inherited Members

- Protected Member Functions inherited from partition
long double get_adj (std::vector< adj_map > adj, int var)
 
int GetFieldMapping (std::vector< std::vector< int > > rFieldMapping, int rSearchField)
 

Detailed Description

Definition at line 64 of file partition.h.

Constructor & Destructor Documentation

tpzone ( string *  zheader,
string *  zdata 
)

Definition at line 85 of file partition.cpp.

References partition::error, zdata, and zheader.

85  {
86 
87  this->zheader = zheader;
88  this->zdata = zdata;
89  this->error = string("");
90 
91  return;
92 }
string * zdata
Definition: partition.h:75
string error
Definition: partition.h:49
string * zheader
Definition: partition.h:74
~tpzone ( )
virtual

Definition at line 94 of file partition.cpp.

References zdata, and zheader.

94  {
95 
96  delete zheader;
97 
98  if(zdata != NULL) //Delete this after parsing
99  delete zdata;
100 
101  return;
102 }
string * zdata
Definition: partition.h:75
string * zheader
Definition: partition.h:74

Member Data Documentation

string* zdata
protected

Definition at line 75 of file partition.h.

Referenced by tpz_ordered::parse_data(), tpz_fequad::parse_data(), tpzone(), and ~tpzone().

string* zheader
protected

Definition at line 74 of file partition.h.

Referenced by tpz_ordered::parse_layout(), tpz_fequad::parse_layout(), tpzone(), and ~tpzone().


The documentation for this class was generated from the following files: