Commit eb5293d4 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

added permeability function to problem to plot kappa

parent 8abb019f
......@@ -17,10 +17,10 @@ public:
virtual Tensor Permeability(const cell &c) const = 0;
// void Permeability(Vector &kappa) {
// for (cell c = kappa.cells(); c != kappa.cells_end(); ++c)
// Permeability(c);
// }
void Permeability(Vector &kappa) {
for (cell c = kappa.cells(); c != kappa.cells_end(); ++c)
kappa(c(), 0) = Permeability(c)[0][0];
}
};
class StochasticLaplace1D : public IStochasticEllipticProblem {
......
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