OGS
|
Definition at line 24 of file DirectConditionGenerator.h.
#include <DirectConditionGenerator.h>
Public Member Functions | |
DirectConditionGenerator ()=default | |
~DirectConditionGenerator ()=default | |
const std::vector< std::pair< std::size_t, double > > & | directToSurfaceNodes (const MeshLib::Mesh &mesh, const std::string &filename) |
const std::vector< std::pair< std::size_t, double > > & | directWithSurfaceIntegration (MeshLib::Mesh &mesh, const std::string &filename, double scaling) |
int | writeToFile (const std::string &name) const |
Private Attributes | |
std::vector< std::pair< std::size_t, double > > | _direct_values |
|
default |
|
default |
const std::vector< std::pair< std::size_t, double > > & DirectConditionGenerator::directToSurfaceNodes | ( | const MeshLib::Mesh & | mesh, |
const std::string & | filename ) |
Definition at line 30 of file DirectConditionGenerator.cpp.
References _direct_values, ERR(), GeoLib::Raster::getHeader(), MeshToolsLib::MeshSurfaceExtraction::getSurfaceNodes(), GeoLib::Raster::getValueAtPoint(), GeoLib::RasterHeader::no_data, and FileIO::AsciiRasterInterface::readRaster().
Referenced by CondFromRasterDialog::accept().
const std::vector< std::pair< std::size_t, double > > & DirectConditionGenerator::directWithSurfaceIntegration | ( | MeshLib::Mesh & | mesh, |
const std::string & | filename, | ||
double | scaling ) |
Definition at line 69 of file DirectConditionGenerator.cpp.
References _direct_values, ERR(), MeshLib::getBulkIDString(), MeshToolsLib::MeshSurfaceExtraction::getMeshSurface(), MeshToolsLib::MeshSurfaceExtraction::getSurfaceAreaForNodes(), MeshLib::Node, FileIO::AsciiRasterInterface::readRaster(), and WARN().
Referenced by CondFromRasterDialog::accept().
int DirectConditionGenerator::writeToFile | ( | const std::string & | name | ) | const |
Definition at line 125 of file DirectConditionGenerator.cpp.
References _direct_values.
|
private |
Definition at line 40 of file DirectConditionGenerator.h.
Referenced by directToSurfaceNodes(), directWithSurfaceIntegration(), and writeToFile().