template<class GridView, class Scalar>
class Dumux::GstatRandomField< GridView, Scalar >
gstat is an open source software tool which can (among other things) generate geostatistical random fields (see http://www.gstat.org or [67]).
To use this class, execute the installexternal.py from your DuMuX root directory or download, unpack and install the tarball from the gstat-website. Then rerun cmake (in the second case set GSTAT_ROOT in your input file to the path where gstat is installed).
|
| GstatRandomField (const GridView &gridView, const ElementMapper &elementMapper) |
| Constructor. More...
|
|
void | create (const std::string &gstatControlFile, const std::string &gstatInputFile="gstatInput.txt", const std::string &gstatOutputFile="permeab.dat", FieldType fieldType=FieldType::scalar, bool createNew=true) |
| Creates a new field with random variables, if desired. Otherwise creates a data field from already available data. For the random field generation three files are necessary. More...
|
|
Scalar | data (const Element &e) const |
| Return an entry of the data vector. More...
|
|
const DataVector & | data () const |
| Return the data vector for analysis or external vtk output. More...
|
|
void | writeVtk (const std::string &vtkName, const std::string &dataName="data") const |
| Write the data to a vtk file. More...
|
|