ASPECT
include
aspect
postprocess
entropy_statistics.h
Go to the documentation of this file.
1
// ------------------------------------------------------
2
//
3
// SPDX-License-Identifier: GPL-2.0-or-later
4
//
5
// SPDX-FileCopyrightText: Copyright (C) 2025 by the ASPECT authors.
6
//
7
// This file is part of ASPECT.
8
//
9
// Detailed license information governing the source code and
10
// contributions can be found in the folder LICENSES and in
11
// LICENSE and CONTRIBUTING.md at the top level directory.
12
//
13
// ------------------------------------------------------
14
15
16
#ifndef _aspect_postprocess_entropy_statistics_h
17
#define _aspect_postprocess_entropy_statistics_h
18
19
#include <
aspect/postprocess/interface.h
>
20
#include <
aspect/simulator_access.h
>
21
22
namespace
aspect
23
{
24
namespace
Postprocess
25
{
26
33
template
<
int
dim>
34
class
EntropyStatistics
:
public
Interface
<dim>,
public
::aspect::SimulatorAccess
<dim>
35
{
36
public
:
40
void
initialize
()
override
;
41
45
std::pair<std::string,std::string>
46
execute
(
TableHandler
&statistics)
override
;
47
48
private
:
53
void
54
store_entropy_solver_history
(
unsigned
int
iteration_count);
55
62
unsigned
int
total_iteration_count
;
63
unsigned
int
number_of_solves
;
64
};
65
}
66
}
67
68
69
#endif
aspect::Postprocess::EntropyStatistics::execute
std::pair< std::string, std::string > execute(TableHandler &statistics) override
aspect::Postprocess::EntropyStatistics::total_iteration_count
unsigned int total_iteration_count
Definition:
entropy_statistics.h:62
aspect::Postprocess::EntropyStatistics::store_entropy_solver_history
void store_entropy_solver_history(unsigned int iteration_count)
TableHandler
interface.h
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:41
aspect::Postprocess::EntropyStatistics::initialize
void initialize() override
aspect
Definition:
advection_field.h:24
aspect::Postprocess::EntropyStatistics
Definition:
entropy_statistics.h:34
aspect::Postprocess::Interface
Definition:
interface.h:63
aspect::Postprocess::EntropyStatistics::number_of_solves
unsigned int number_of_solves
Definition:
entropy_statistics.h:63
ASPECT manual
| Generated by
1.8.12