Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
0f3a34ec
Commit
0f3a34ec
authored
Feb 03, 2021
by
niklas.baumgarten
Browse files
not losing problem information and moving timeseries
parent
e27308a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
mlmc/src/pdesolver/IStochasticEllipticAssemble.hpp
View file @
0f3a34ec
...
...
@@ -21,7 +21,7 @@ public:
problem
->
DrawSample
(
id
);
}
IStochasticProblem
*
GetProblem
()
const
{
IStochastic
Elliptic
Problem
*
GetProblem
()
const
{
return
problem
;
};
...
...
mlmc/src/pdesolver/IStochasticTransportAssemble.hpp
View file @
0f3a34ec
...
...
@@ -31,10 +31,16 @@ public:
this
->
plot
=
_plot
;
}
IStochasticProblem
*
GetProblem
()
{
IStochastic
Transport
Problem
*
GetProblem
()
{
return
problem
;
};
TimeSeries
GetTimeSeries
(
const
Vector
&
u
)
{
return
TimeSeries
(
problem
->
GetStartTime
(),
problem
->
GetEndTime
(),
problem
->
GetCFL
()
*
u
.
GetMesh
().
MeshWidth
().
second
,
"UniformTimeSeries"
);
}
virtual
IDiscretization
*
GetDisc
()
=
0
;
virtual
~
IStochasticTransportAssemble
()
=
default
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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