93 void setFactories(std::unique_ptr<KernelFactory> &&kernelFactory,
94 std::unique_ptr<PreProcessorFactory> &&preProcessorFactory);
109 void readAndWriteFiles(
uint timestep);
111 std::unique_ptr<KernelFactory> kernelFactory;
112 std::shared_ptr<PreProcessorFactory> preProcessorFactory;
116 std::shared_ptr<DataWriter> dataWriter;
117 std::shared_ptr<CudaMemoryManager> cudaMemoryManager;
118 std::vector < SPtr< Kernel>> kernels;
119 std::vector < SPtr< AdvectionDiffusionKernel>> adKernels;
120 std::shared_ptr<PreProcessor> preProcessor;
121 std::shared_ptr<PreProcessor> preProcessorAD;
128 std::unique_ptr<PerformanceMeasurement> performanceOutput;
129 uint previousTimestepForAveraging;
130 uint previousTimestepForTurbulenceIntensityCalculation;
131 uint timestepForMeasuringPoints;
134 std::shared_ptr<ForceCalculations> forceCalculator;
136 std::unique_ptr<KineticEnergyAnalyzer> kineticEnergyAnalyzer;
137 std::unique_ptr<EnstrophyAnalyzer> enstrophyAnalyzer;
138 std::unique_ptr<UpdateGrid27> updateGrid27;