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
17
#include "
BaseLib/ConfigTree-fwd.h
"
18
#include "
MathLib/LinAlg/GlobalMatrixVectorTypes.h
"
19
20
namespace
MeshLib
21
{
22
class
Mesh;
23
}
// namespace MeshLib
24
25
namespace
ProcessLib
26
{
27
class
Process;
28
29
struct
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
43
private
:
44
MeshLib::Mesh
&
surface_mesh
;
45
std::string
const
property_vector_name
;
46
};
47
}
// namespace ProcessLib
ConfigTree-fwd.h
GlobalMatrixVectorTypes.h
BaseLib::ConfigTree
Definition
ConfigTree.h:107
MeshLib::Mesh
Definition
Mesh.h:43
ProcessLib::Process
Definition
Process.h:45
MeshLib
Definition
ProjectData.h:41
ProcessLib
Definition
ProjectData.h:51
ProcessLib::SurfaceFluxData
Definition
SurfaceFluxData.h:30
ProcessLib::SurfaceFluxData::property_vector_name
std::string const property_vector_name
Definition
SurfaceFluxData.h:45
ProcessLib::SurfaceFluxData::SurfaceFluxData
SurfaceFluxData(MeshLib::Mesh &surfaceflux_mesh, std::string &&surfaceflux_property_vector_name)
Definition
SurfaceFluxData.cpp:21
ProcessLib::SurfaceFluxData::integrate
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)
Definition
SurfaceFluxData.cpp:61
ProcessLib::SurfaceFluxData::surface_mesh
MeshLib::Mesh & surface_mesh
Definition
SurfaceFluxData.h:44
ProcessLib::SurfaceFluxData::createSurfaceFluxData
static std::unique_ptr< ProcessLib::SurfaceFluxData > createSurfaceFluxData(BaseLib::ConfigTree const &calculatesurfaceflux_config, std::vector< std::unique_ptr< MeshLib::Mesh > > const &meshes)
Definition
SurfaceFluxData.cpp:34
ProcessLib
SurfaceFlux
SurfaceFluxData.h
Generated by
1.12.0