Commit 407b3a33 authored by niklas.baumgarten's avatar niklas.baumgarten

minor adaptions

parent 255b9420
Pipeline #125297 failed with stages
in 11 minutes and 56 seconds
......@@ -39,7 +39,7 @@ HybridFaceNormalFluxGenerator::~HybridFaceNormalFluxGenerator() {
delete pdeSolver;
delete solutionFaceValues;
delete solutionFaceFlux;
delete solutionCellFlux;
// delete solutionCellFlux;
}
VectorField HybridCellFluxGenerator::EvalSample(const cell &c) {
......
......@@ -29,7 +29,7 @@ public:
SampleSolution *solutionFaceFlux;
SampleSolution *solutionCellFlux;
// SampleSolution *solutionCellFlux;
HybridFaceNormalFluxGenerator(Meshes &meshes) :
SampleGenerator(meshes) {
......@@ -64,14 +64,4 @@ public:
return "HybridCellFluxGenerator";
}
};
// MatrixGraphs cellMGraphs; cellMGraphs(MatrixGraphs(meshes, new CellDoF(3))),
// MatrixGraphs faceMGraphs; faceMGraphs(MatrixGraphs(meshes, new FaceDoF(1))),
//
// Vector *faceFlux = nullptr;
// Vector *faceValues = nullptr;
// Vector *cellFlux = nullptr;
#endif //HYBRIDFLUXGENERATOR_HPP
......@@ -22,7 +22,8 @@ protected:
id = new SampleID(6, false, 0);
meshes = MeshesCreator("Interval").
WithPLevel(id->level.pLevel).
WithLevel(id->level.fine).Create();
WithLevel(id->level.fine).
Create();
faceNormalFluxGen = new HybridFaceNormalFluxGenerator(*meshes);
cellFluxGen = new HybridCellFluxGenerator(*meshes, *faceNormalFluxGen);
}
......@@ -43,8 +44,9 @@ TEST_F(TestHybridFluxGenerator, asd) {
}
int main(int argc, char **argv) {
return MppTest(MppTestBuilder(argc, argv).
WithPPM().
WithScreenLogging()).
return MppTest(
MppTestBuilder(argc, argv).
WithPPM().
WithScreenLogging()).
RUN_ALL_MPP_TESTS();
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment