ASPECT
include
aspect
postprocess
memory_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) 2016-2026 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_memory_statistics_h
17
#define _aspect_postprocess_memory_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
32
template
<
int
dim>
33
class
MemoryStatistics
:
public
Interface
<dim>,
public
::aspect::SimulatorAccess
<dim>
34
{
35
public
:
39
std::pair<std::string,std::string>
40
execute
(
TableHandler
&statistics)
override
;
41
45
static
46
void
47
declare_parameters
(
ParameterHandler
&prm);
48
52
void
53
parse_parameters
(
ParameterHandler
&prm)
override
;
54
55
private
:
59
bool
output_vmpeak
;
60
};
61
}
62
}
63
64
65
#endif
aspect::Postprocess::MemoryStatistics::execute
std::pair< std::string, std::string > execute(TableHandler &statistics) override
ParameterHandler
aspect::Postprocess::MemoryStatistics::parse_parameters
void parse_parameters(ParameterHandler &prm) override
TableHandler
aspect::Postprocess::MemoryStatistics::output_vmpeak
bool output_vmpeak
Definition:
memory_statistics.h:59
interface.h
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:41
aspect
Definition:
advection_field.h:24
aspect::Postprocess::MemoryStatistics::declare_parameters
static void declare_parameters(ParameterHandler &prm)
aspect::Postprocess::Interface
Definition:
interface.h:63
aspect::Postprocess::MemoryStatistics
Definition:
memory_statistics.h:33
ASPECT manual
| Generated by
1.8.12