LSDTopoTools
 All Classes Files Functions Variables Friends Pages
Public Member Functions | Protected Attributes | Friends | List of all members
LSDGrainMatrix Class Reference

This class is used primarily for the LSDCatchmentModel, to package up data about the stratigraphy and grain fraction data into neat objects. More...

#include <LSDGrainMatrix.hpp>

Public Member Functions

 LSDGrainMatrix (int imax, int jmax, int NoDataVal, int G_MAX, TNT::Array2D< int > &indexes, TNT::Array2D< double > &graindatas, TNT::Array3D< double > &stratadatas)
 Create a GrainMatrix object from references to arrays (in LSDCatchmentModel, though needn't be this object)
 
void write_grainMatrix_to_ascii_file (std::string filename, std::string fname_extension)
 Writes the GrainMatrix object to an output text file (Warning: large file!)
 

Protected Attributes

TNT::Array2D< int > & rasterIndex
 
TNT::Array2D< double > & grainData
 
TNT::Array3D< double > & strataData
 
int NCols
 
int NRows
 
int NoData
 
int GrainFracMax
 

Friends

class LSDRaster
 

Detailed Description

This class is used primarily for the LSDCatchmentModel, to package up data about the stratigraphy and grain fraction data into neat objects.

LSDGrainMatrix.hpp HEADER FILE


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