Commit 3382099b authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

restructuring

parent 7145ec78
Pipeline #117849 failed with stages
in 4 minutes and 29 seconds
......@@ -3,7 +3,7 @@
#include "discretization/LagrangeDiscretization.hpp"
#include "elements/Elements.hpp"
#include "IStochasticEllipticAssemble.hpp"
#include "pdesolver/IStochasticEllipticAssemble.hpp"
class LagrangeEllipticAssemble : public IStochasticEllipticAssemble {
......
......@@ -4,7 +4,7 @@
#include "discretization/RTLagrangeDiscretization.hpp"
#include "discretization/LagrangeDiscretization.hpp"
#include "elements/Elements.hpp"
#include "IStochasticEllipticAssemble.hpp"
#include "pdesolver/IStochasticEllipticAssemble.hpp"
class MixedEllipticAssemble : public IStochasticEllipticAssemble {
......
#ifndef STOCHASTICHYBRIDFLUX_HPP
#define STOCHASTICHYBRIDFLUX_HPP
#include "assemble/HybridEllipticAssemble.hpp"
class StochasticHybridFlux {
public:
HybridEllipticAssemble *hybrid = nullptr;
Vector *flux = nullptr;
explicit StochasticHybridFlux() = default;;
StochasticHybridFlux(HybridEllipticAssemble *hybrid, Vector *flux) :
hybrid(hybrid), flux(flux) {}
void SetHybridEllipticAssemble(HybridEllipticAssemble *hybridEllipticAssemble) {
this->hybrid = hybridEllipticAssemble;
}
void SetFlux(Vector *normalFlux) {
this->flux = normalFlux;
}
};
#endif //STOCHASTICHYBRIDFLUX_HPP
......@@ -2,7 +2,32 @@
#define STOCHASTICREACTIONPROBLEM_HPP
#include "StochasticProblem.hpp"
#include "StochasticHybridFlux.hpp"
// Todo rmv
#include "pdesolver/assembling/HybridEllipticAssemble.hpp"
class StochasticHybridFlux {
public:
HybridEllipticAssemble *hybrid = nullptr;
Vector *flux = nullptr;
explicit StochasticHybridFlux() = default;;
StochasticHybridFlux(HybridEllipticAssemble *hybrid, Vector *flux) :
hybrid(hybrid), flux(flux) {}
void SetHybridEllipticAssemble(HybridEllipticAssemble *hybridEllipticAssemble) {
this->hybrid = hybridEllipticAssemble;
}
void SetFlux(Vector *normalFlux) {
this->flux = normalFlux;
}
};
class IStochasticReactionProblem : public IStochasticProblem {
......
#ifndef MOCKCLASSES_HPP
#define MOCKCLASSES_HPP
#include "montecarlo/PDESolver.hpp"
#include "stochastics/SampleGenerator.hpp"
#include "pdesolver/PDESolver.hpp"
//#include "stochastics/SampleGenerator.hpp"
//#include "TestEnvironment.hpp"
#include "gmock/gmock.h"
......
#include "montecarlo/PDESolver.hpp"
#include "pdesolver/PDESolver.hpp"
#include "TestEnvironment.hpp"
......
#include "montecarlo/PDESolver.hpp"
#include "pdesolver/PDESolver.hpp"
#include "TestEnvironment.hpp"
#include <filesystem>
......
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