preCICE v3.2.0
Loading...
Searching...
No Matches
RecorderAction.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4#include "action/Action.hpp"
6
7namespace precice::action {
8
10class RecorderAction : public Action {
11public:
20 Timing timing,
21 const mesh::PtrMesh &mesh);
22
24 void performAction() final override;
25
26 struct Record {
28 };
29
31 static void reset();
32
34};
35
36} // namespace precice::action
Timing
Defines the time and place of application of the action.
Definition Action.hpp:17
Action(Timing timing, const mesh::PtrMesh &mesh, mapping::Mapping::MeshRequirement requirement)
Definition Action.hpp:22
static void reset()
resets the saved records.
void performAction() final override
Records the invocation and appends it to the records.
static std::vector< Record > records
RecorderAction(Timing timing, const mesh::PtrMesh &mesh)
Constructor.
contains actions to modify exchanged data.
Definition Action.hpp:6
provides Mesh, Data and primitives.
std::shared_ptr< Mesh > PtrMesh