OGS
DirectConditionGenerator.h
Go to the documentation of this file.
1
15#pragma once
16
17#include <vector>
18#include <string>
19
20namespace MeshLib {
21 class Mesh;
22}
23
25{
26public:
29
30 const std::vector<std::pair<std::size_t, double>>& directToSurfaceNodes(
31 const MeshLib::Mesh& mesh, const std::string& filename);
32
33 const std::vector<std::pair<std::size_t, double>>&
35 const std::string& filename, double scaling);
36
37 int writeToFile(const std::string& name) const;
38
39private:
40 std::vector< std::pair<std::size_t,double> > _direct_values;
41
42};
DirectConditionGenerator()=default
const std::vector< std::pair< std::size_t, double > > & directToSurfaceNodes(const MeshLib::Mesh &mesh, const std::string &filename)
std::vector< std::pair< std::size_t, double > > _direct_values
int writeToFile(const std::string &name) const
~DirectConditionGenerator()=default
const std::vector< std::pair< std::size_t, double > > & directWithSurfaceIntegration(MeshLib::Mesh &mesh, const std::string &filename, double scaling)