OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
FixturePECBoundary.h
Go to the documentation of this file.
1#pragma once
2#include "gtest/gtest.h"
3#include "Grid/Grid.h"
6#include "Solver/Solver.h"
8
9class FixturePECBoundary : public testing::TestWithParam<int>
10{
11public:
12 float * (*_getterPtr)(const DegreesOfFreedom3DLoopCPU<float> *doF, index_t index) = nullptr;
14
15 void CreateAirCuboidExCentredHardwiredSolver(Alignment alignment, index_t dimensionX);
16
17 const Grid<float> * GetGrid() const { return _grid; };
18 const index_t GetDimensionX() const { return _dimensionX; };
19 Solver * GetSolver() const { return _solver; };
20 FITTD3DLoop<float> * GetSimulator() const { return _simulator; };
21 int GetSimulationDuration() const { return _simulationDuration; };
22
23private:
24 Grid<float> *_grid;
25 index_t _dimensionX;
26 FITTD3DLoop<float> * _simulator;
27 Solver * _solver;
28 SolverSettings _settings;
29
30 int _simulationDuration = 120;
31};
Alignment
Definition Allignments.h:3
int64_t index_t
Definition SystemDependentDefines.h:13
Definition DegreesOfFreedom3DLoopCPU.h:8
Definition FITTD3DLoop.h:11
Definition FixturePECBoundary.h:10
const index_t GetDimensionX() const
Definition FixturePECBoundary.h:18
Solver * GetSolver() const
Definition FixturePECBoundary.h:19
FITTD3DLoop< float > * GetSimulator() const
Definition FixturePECBoundary.h:20
int GetSimulationDuration() const
Definition FixturePECBoundary.h:21
Definition Grid.h:15
Definition Solver.h:12
Definition SolverSettings.h:8