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

#include <FloGrid.H>

Collaboration diagram for FloVolumeSoln:

Public Member Functions

 FloVolumeSoln (unsigned int ncell_i=0, unsigned int ncell_j=0, unsigned int ncell_k=0)
 
void Resize (unsigned int ncell_i, unsigned int ncell_j, unsigned int ncell_k)
 

Public Attributes

double _current_time
 
double _resid
 
bool _unsteady
 
std::vector< double > _rhof
 
std::vector< double > _rhouf
 
std::vector< double > _rhovf
 
std::vector< double > _rhowf
 
std::vector< double > _rhoEf
 
std::vector< double > _pf
 
std::vector< double > _Tf
 
std::vector< double > _af
 
std::vector< double > _disp
 

Detailed Description

Definition at line 473 of file FloGrid.H.

Constructor & Destructor Documentation

FloVolumeSoln ( unsigned int  ncell_i = 0,
unsigned int  ncell_j = 0,
unsigned int  ncell_k = 0 
)
inline

Definition at line 488 of file FloGrid.H.

References Resize().

490  {
491  Resize(ncell_i,ncell_j,ncell_k);
492  };
void Resize(unsigned int ncell_i, unsigned int ncell_j, unsigned int ncell_k)
Definition: FloGrid.H:494

Here is the call graph for this function:

Member Function Documentation

void Resize ( unsigned int  ncell_i,
unsigned int  ncell_j,
unsigned int  ncell_k 
)
inline

Definition at line 494 of file FloGrid.H.

References _af, _current_time, _disp, _pf, _resid, _rhoEf, _rhof, _rhouf, _rhovf, _rhowf, _Tf, and _unsteady.

Referenced by FloVolumeSoln().

495  {
496  unsigned int ncells = ncell_i * ncell_j * ncell_k;
497  unsigned int number_of_nodes = (ncell_i+1)*(ncell_j+1)*(ncell_k+1);
498  _rhof.resize(ncells,0.0);
499  _rhouf.resize(ncells,0.0);
500  _rhovf.resize(ncells,0.0);
501  _rhowf.resize(ncells,0.0);
502  _rhoEf.resize(ncells,0.0);
503  _pf.resize(ncells,0.0);
504  _Tf.resize(ncells,0.0);
505  _af.resize(ncells,0.0);
506  _disp.resize(number_of_nodes*3,0.0);
507  // _gsp.resize(nfaces,0.0);
508  _unsteady = false;
509  _resid = 0.0;
510  _current_time = 0.0;
511  };
std::vector< double > _Tf
Definition: FloGrid.H:484
std::vector< double > _pf
Definition: FloGrid.H:483
double _resid
Definition: FloGrid.H:476
std::vector< double > _disp
Definition: FloGrid.H:486
bool _unsteady
Definition: FloGrid.H:477
std::vector< double > _af
Definition: FloGrid.H:485
std::vector< double > _rhouf
Definition: FloGrid.H:479
std::vector< double > _rhoEf
Definition: FloGrid.H:482
std::vector< double > _rhowf
Definition: FloGrid.H:481
double _current_time
Definition: FloGrid.H:475
std::vector< double > _rhovf
Definition: FloGrid.H:480
std::vector< double > _rhof
Definition: FloGrid.H:478

Here is the caller graph for this function:

Member Data Documentation

std::vector<double> _af

Definition at line 485 of file FloGrid.H.

Referenced by Resize().

double _current_time

Definition at line 475 of file FloGrid.H.

Referenced by Resize().

std::vector<double> _disp

Definition at line 486 of file FloGrid.H.

Referenced by Resize().

std::vector<double> _pf

Definition at line 483 of file FloGrid.H.

Referenced by Resize().

double _resid

Definition at line 476 of file FloGrid.H.

Referenced by Resize().

std::vector<double> _rhoEf

Definition at line 482 of file FloGrid.H.

Referenced by Resize().

std::vector<double> _rhof

Definition at line 478 of file FloGrid.H.

Referenced by Resize().

std::vector<double> _rhouf

Definition at line 479 of file FloGrid.H.

Referenced by Resize().

std::vector<double> _rhovf

Definition at line 480 of file FloGrid.H.

Referenced by Resize().

std::vector<double> _rhowf

Definition at line 481 of file FloGrid.H.

Referenced by Resize().

std::vector<double> _Tf

Definition at line 484 of file FloGrid.H.

Referenced by Resize().

bool _unsteady

Definition at line 477 of file FloGrid.H.

Referenced by Resize().


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