Chi-Tech
CellVolumeIntegralPostProcessor.h
Go to the documentation of this file.
1
#ifndef CHITECH_CELLVOLUMEINTEGRALPOSTPROCESSOR_H
2
#define CHITECH_CELLVOLUMEINTEGRALPOSTPROCESSOR_H
3
4
#include "
PostProcessor.h
"
5
#include "
physics/FieldFunction/GridBasedFieldFunctionInterface.h
"
6
#include "
mesh/LogicalVolume/LogicalVolumeInterface.h
"
7
8
namespace
chi_mesh
9
{
10
class
LogicalVolume;
11
}
12
namespace
chi_physics
13
{
14
class
FieldFunctionGridBased;
15
}
16
17
namespace
chi
18
{
19
20
class
CellVolumeIntegralPostProcessor
21
:
public
PostProcessor
,
22
public
chi_physics::GridBasedFieldFunctionInterface
,
23
public
chi_mesh::LogicalVolumeInterface
24
{
25
public
:
26
static
InputParameters
GetInputParameters
();
27
explicit
CellVolumeIntegralPostProcessor
(
const
InputParameters
& params);
28
29
void
Execute
(
const
Event
& event_context)
override
;
30
31
protected
:
32
void
Initialize
();
33
34
const
bool
compute_volume_average_
;
35
bool
initialized_
=
false
;
36
std::vector<uint64_t>
cell_local_ids_
;
37
};
38
39
}
// namespace chi
40
41
#endif
// CHITECH_CELLVOLUMEINTEGRALPOSTPROCESSOR_H
GridBasedFieldFunctionInterface.h
LogicalVolumeInterface.h
PostProcessor.h
chi::CellVolumeIntegralPostProcessor
Definition:
CellVolumeIntegralPostProcessor.h:24
chi::CellVolumeIntegralPostProcessor::CellVolumeIntegralPostProcessor
CellVolumeIntegralPostProcessor(const InputParameters ¶ms)
Definition:
CellVolumeIntegralPostProcessor.cc:40
chi::CellVolumeIntegralPostProcessor::initialized_
bool initialized_
Definition:
CellVolumeIntegralPostProcessor.h:35
chi::CellVolumeIntegralPostProcessor::cell_local_ids_
std::vector< uint64_t > cell_local_ids_
Definition:
CellVolumeIntegralPostProcessor.h:36
chi::CellVolumeIntegralPostProcessor::GetInputParameters
static InputParameters GetInputParameters()
Definition:
CellVolumeIntegralPostProcessor.cc:19
chi::CellVolumeIntegralPostProcessor::Initialize
void Initialize()
Definition:
CellVolumeIntegralPostProcessor.cc:52
chi::CellVolumeIntegralPostProcessor::Execute
void Execute(const Event &event_context) override
Definition:
CellVolumeIntegralPostProcessor.cc:80
chi::CellVolumeIntegralPostProcessor::compute_volume_average_
const bool compute_volume_average_
Definition:
CellVolumeIntegralPostProcessor.h:34
chi::Event
Definition:
Event.h:12
chi::InputParameters
Definition:
input_parameters.h:23
chi::PostProcessor
Definition:
PostProcessor.h:28
chi_mesh::LogicalVolumeInterface
Definition:
LogicalVolumeInterface.h:16
chi_physics::GridBasedFieldFunctionInterface
Definition:
GridBasedFieldFunctionInterface.h:16
chi_mesh
Definition:
chi_runtime.h:13
chi_physics
Definition:
chi_runtime.h:30
chi
Definition:
chi_runtime.h:53
framework
post_processors
CellVolumeIntegralPostProcessor.h
Generated by
1.9.3