https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
reporters
ExtraIDIntegralReporter.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#pragma once
11
12
#include "
GeneralReporter.h
"
13
#include "
ExtraIDIntegralVectorPostprocessor.h
"
14
15
class
ExtraIDIntegralReporter
:
public
GeneralReporter
16
{
17
public
:
18
static
InputParameters
validParams
();
19
ExtraIDIntegralReporter
(
const
InputParameters
&
parameters
);
20
virtual
void
initialize
()
override
{}
21
virtual
void
finalize
()
override
{}
22
virtual
void
execute
()
override
{}
23
24
struct
ExtraIDData
25
{
26
dof_id_type
num_names
;
27
std::vector<ExtraElementIDName>
names
;
28
std::vector<std::vector<dof_id_type>>
unique_ids
;
29
30
std::vector<VariableName>
variables
;
31
std::vector<VectorPostprocessorValue *>
integrals
;
32
};
33
34
private
:
35
ExtraIDData
&
_extra_id_data
;
36
const
ExtraIDIntegralVectorPostprocessor
*
_vpp_object
;
37
};
38
39
void
to_json
(nlohmann::json & json,
const
ExtraIDIntegralReporter::ExtraIDData
& extra_id_data);
40
void
dataStore
(std::ostream &,
ExtraIDIntegralReporter::ExtraIDData
&,
void
*);
41
void
dataLoad
(std::istream &,
ExtraIDIntegralReporter::ExtraIDData
&,
void
*);
dataLoad
void dataLoad(std::istream &, ExtraIDIntegralReporter::ExtraIDData &, void *)
Definition
ExtraIDIntegralReporter.C:98
to_json
void to_json(nlohmann::json &json, const ExtraIDIntegralReporter::ExtraIDData &extra_id_data)
Definition
ExtraIDIntegralReporter.C:75
dataStore
void dataStore(std::ostream &, ExtraIDIntegralReporter::ExtraIDData &, void *)
Definition
ExtraIDIntegralReporter.C:93
ExtraIDIntegralVectorPostprocessor.h
GeneralReporter.h
ExtraIDIntegralReporter
Definition
ExtraIDIntegralReporter.h:16
ExtraIDIntegralReporter::_vpp_object
const ExtraIDIntegralVectorPostprocessor * _vpp_object
Definition
ExtraIDIntegralReporter.h:36
ExtraIDIntegralReporter::initialize
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
Definition
ExtraIDIntegralReporter.h:20
ExtraIDIntegralReporter::execute
virtual void execute() override
Execute method.
Definition
ExtraIDIntegralReporter.h:22
ExtraIDIntegralReporter::_extra_id_data
ExtraIDData & _extra_id_data
Definition
ExtraIDIntegralReporter.h:35
ExtraIDIntegralReporter::finalize
virtual void finalize() override
Finalize.
Definition
ExtraIDIntegralReporter.h:21
ExtraIDIntegralReporter::validParams
static InputParameters validParams()
Definition
ExtraIDIntegralReporter.C:15
ExtraIDIntegralVectorPostprocessor
This ExtraIDIntegralVectorPostprocessor source code is to integrate variables based on parsed extra I...
Definition
ExtraIDIntegralVectorPostprocessor.h:21
GeneralReporter
Reporter object that has a single execution of the "execute" method for each execute flag.
Definition
GeneralReporter.h:19
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition
InputParameters.h:68
MooseBase::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition
MooseBase.h:131
ExtraIDIntegralReporter::ExtraIDData
Definition
ExtraIDIntegralReporter.h:25
ExtraIDIntegralReporter::ExtraIDData::num_names
dof_id_type num_names
Definition
ExtraIDIntegralReporter.h:26
ExtraIDIntegralReporter::ExtraIDData::names
std::vector< ExtraElementIDName > names
Definition
ExtraIDIntegralReporter.h:27
ExtraIDIntegralReporter::ExtraIDData::unique_ids
std::vector< std::vector< dof_id_type > > unique_ids
Definition
ExtraIDIntegralReporter.h:28
ExtraIDIntegralReporter::ExtraIDData::integrals
std::vector< VectorPostprocessorValue * > integrals
Definition
ExtraIDIntegralReporter.h:31
ExtraIDIntegralReporter::ExtraIDData::variables
std::vector< VariableName > variables
Definition
ExtraIDIntegralReporter.h:30
Generated on Fri Aug 21 2026 13:33:51 for https://mooseframework.inl.gov by
1.9.8