OGS
SurfaceFluxData.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <memory>
14#include <string>
15#include <vector>
16
19
20namespace MeshLib
21{
22class Mesh;
23} // namespace MeshLib
24
25namespace ProcessLib
26{
27class Process;
28
29struct SurfaceFluxData final
30{
31 SurfaceFluxData(MeshLib::Mesh& surfaceflux_mesh,
32 std::string&& surfaceflux_property_vector_name);
33
34 static std::unique_ptr<ProcessLib::SurfaceFluxData> createSurfaceFluxData(
35 BaseLib::ConfigTree const& calculatesurfaceflux_config,
36 std::vector<std::unique_ptr<MeshLib::Mesh>> const& meshes);
37
38 void integrate(std::vector<GlobalVector*> const& x, double const t,
39 Process const& p, int const process_id,
40 int const integration_order, MeshLib::Mesh const& bulk_mesh,
41 std::vector<std::size_t> const& active_element_ids);
42
43private:
45 std::string const property_vector_name;
46};
47} // namespace ProcessLib
std::string const property_vector_name
SurfaceFluxData(MeshLib::Mesh &surfaceflux_mesh, std::string &&surfaceflux_property_vector_name)
void integrate(std::vector< GlobalVector * > const &x, double const t, Process const &p, int const process_id, int const integration_order, MeshLib::Mesh const &bulk_mesh, std::vector< std::size_t > const &active_element_ids)
static std::unique_ptr< ProcessLib::SurfaceFluxData > createSurfaceFluxData(BaseLib::ConfigTree const &calculatesurfaceflux_config, std::vector< std::unique_ptr< MeshLib::Mesh > > const &meshes)