Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
eb5293d4
Commit
eb5293d4
authored
May 03, 2021
by
niklas.baumgarten
Browse files
added permeability function to problem to plot kappa
parent
8abb019f
Changes
1
Hide whitespace changes
Inline
Side-by-side
mlmc/src/problems/StochasticEllipticProblem.hpp
View file @
eb5293d4
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment