SW4  Git Revision 67ab458ccdb97763a04025b4bf840d7814d6d27f
SW4
 All Classes Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Image3D Class Reference

Public Types

enum  Image3DMode {
  NONE, UX, UY, UZ,
  RHO, LAMBDA, MU, P,
  S, GRADRHO, GRADMU, GRADLAMBDA,
  GRADP, GRADS, QP, QS
}
 

Public Member Functions

 Image3D (EW *a_ew, double time, double timeInterval, int cycle, int cycleInterval, double tstart, const std::string &filePrefix, Image3DMode mode, bool doubleMode)
 
void setup_images ()
 
void update_image (int a_cycle, double a_time, double a_dt, std::vector< Sarray > &a_U, std::vector< Sarray > &a_Rho, std::vector< Sarray > &a_Mu, std::vector< Sarray > &a_Lambda, std::vector< Sarray > &a_gRho, std::vector< Sarray > &a_gMu, std::vector< Sarray > &a_gLambda, std::vector< Sarray > &a_Qp, std::vector< Sarray > &a_Qs, std::string a_path, Sarray &a_Z)
 
void force_write_image (double a_time, int a_cycle, vector< Sarray > &a_U, vector< Sarray > &a_Rho, vector< Sarray > &a_Mu, vector< Sarray > &a_Lambda, vector< Sarray > &a_gRho, vector< Sarray > &a_gMu, vector< Sarray > &a_gLambda, vector< Sarray > &a_Qp, vector< Sarray > &a_Qs, std::string a_path, Sarray &a_Z)
 

Static Public Member Functions

static void setSteps (int a_steps)
 

Static Public Attributes

static Image3Dnil =static_cast<Image3D*>(0)
 

Protected Member Functions

bool timeToWrite (double time, int cycle, double dt)
 
void compute_image (std::vector< Sarray > &a_U, std::vector< Sarray > &a_Rho, std::vector< Sarray > &a_Mu, std::vector< Sarray > &a_Lambda, std::vector< Sarray > &a_gRho, std::vector< Sarray > &a_gMu, std::vector< Sarray > &a_gLambda, std::vector< Sarray > &a_Qp, std::vector< Sarray > &a_Qs)
 
void write_image (int cycle, std::string &path, double t, Sarray &a_Z)
 
void define_pio ()
 
void compute_file_suffix (int cycle, std::stringstream &fileSuffix)
 

Protected Attributes

Image3DMode mMode
 
std::string mFilePrefix
 
double mTime
 
bool m_time_done
 
double mTimeInterval
 
double mNextTime
 
double mStartTime
 
int mWritingCycle
 
int mCycleInterval
 
int mImageSamplingFactor
 
std::string mFileName
 
std::string m_modestring
 
bool m_isDefinedMPIWriters
 
bool m_winallocated
 
bool m_memallocated
 

Static Protected Attributes

static int mPreceedZeros = 0
 

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