110 using DLLData =
void*;
111 DLLData dllData =
nullptr;
112 DLLData parametersStruct =
nullptr;
114 std::function<void(DLLData, DLLData, real, int)>
117 std::function<void(DLLData, DLLData, real, int)>
120 using write_function_t = void(
void* ,
138 std::function<write_function_t>
140 std::function<void(DLLData)> deleteFunction;
141 std::function<void(DLLData)> deleteParametersFunction;
143 bool needsDataOnHost =
false;
simulator::SimulatorParameters & parameters
Definition: CellComputerFactory.cpp:60
virtual void finalize(const grid::Grid &grid, const simulator::TimestepInformation ×tepInformation)
This method should be called at the end of the simulation.
Definition: DLLWriter.cpp:179
Holds general parameters based on a boost::property tree.
Definition: Parameters.hpp:24
DLLWriter(const std::string &basename, const Parameters ¶meters, alsutils::mpi::ConfigurationPtr mpiConfigration=nullptr)
Definition: DLLWriter.cpp:11
The Volume class represents a volume (a collection of cells with values for each cell (eg...
Definition: Volume.hpp:30
double real
Definition: types.hpp:65
Definition: DLLWriter.hpp:83
alsfvm::shared_ptr< Configuration > ConfigurationPtr
Definition: Configuration.hpp:53
const grid::Grid & grid
Definition: NumericalFluxFactory.cpp:104
virtual void write(const volume::Volume &conservedVariables, const grid::Grid &grid, const simulator::TimestepInformation ×tepInformation)
write writes the data to disk
Definition: DLLWriter.cpp:101
The Writer class is an abstract interface to represent output writers.
Definition: Writer.hpp:28
Various utility functions to implement the tecno flux.
Definition: types.hpp:30