36#ifndef GRIDWINDINGDIAGNOSTICSSIMULATIONOBSERVER_H
37#define GRIDWINDINGDIAGNOSTICSSIMULATIONOBSERVER_H
78 const std::string &path,
89 const std::string &path,
104 void ensureOutputDirectory()
const;
105 void writeMissingLinkReport()
const;
106 void writeQReports()
const;
107 void writeWindingVolumeReport(
real step)
const;
113 std::vector<SPtr<BC>> boundaryAdapters_;
117 bool diagnosticsComputed_{
false };
Abstract class of baundary conditions adapter.
A class provides an interface for boundary conditions in the calculation loop.
Interactor that can run CPU grid-winding based boundary diagnostics.
A class implements block grid.
Simulation observer that runs CPU grid-winding boundary diagnostics.
~GridWindingDiagnosticsSimulationObserver() override=default
const vf::grid_winding::SubgridDistanceStats & getSubgridStats() const
An abstract class implements observer design pettern.
SPtr< UbScheduler > scheduler
A class implements scheduling.
std::shared_ptr< T > SPtr
void finalizeMissingLinkCollection(vf::grid_winding::MissingLinkCollection &collection, const SPtr< GbTriFaceMesh3D > &surface, const SPtr< Grid3D > &grid)