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
dbe66f37
Commit
dbe66f37
authored
Jul 13, 2021
by
niklas.baumgarten
Browse files
refactoring
parent
0dd1c663
Changes
2
Hide whitespace changes
Inline
Side-by-side
mluq/src/pdesolvers/EllipticPDESolver.hpp
View file @
dbe66f37
...
...
@@ -31,8 +31,10 @@ protected:
public:
EllipticPDESolver
(
IStochasticEllipticAssemble
*
assemble
,
const
string
&
quantity
,
const
string
&
costMeasure
)
:
PDESolver
(),
assemble
(
assemble
),
quantity
(
quantity
),
costMeasure
(
costMeasure
),
newton
(
std
::
make_unique
<
Newton
>
())
{
PDESolver
(),
assemble
(
assemble
),
quantity
(
quantity
),
costMeasure
(
costMeasure
)
{
newton
=
std
::
make_unique
<
Newton
>
();
if
(
verbose
>
0
)
{
mout
.
PrintInfo
(
"EllipticPDESolver"
,
verbose
,
PrintInfoEntry
(
"Quantity"
,
quantity
),
...
...
mluq/src/pdesolvers/TransportPDESolver.hpp
View file @
dbe66f37
...
...
@@ -28,13 +28,15 @@ protected:
public:
TransportPDESolver
(
IStochasticLinearTransportAssemble
*
assemble
,
const
string
&
quantity
,
const
string
&
costMeasure
)
:
PDESolver
(),
assemble
(
assemble
),
quantity
(
quantity
),
costMeasure
(
costMeasure
),
timeInt
(
TimeIntegratorCreator
(
IMPLICIT_MIDPOINT
).
PDESolver
(),
assemble
(
assemble
),
quantity
(
quantity
),
costMeasure
(
costMeasure
)
{
timeInt
=
TimeIntegratorCreator
(
IMPLICIT_MIDPOINT
).
WithLinearSolver
(
new
GMRES
(
GetPC
(
"PointBlockJacobi_dG"
))).
WithLinearSolver
(
new
GMRES
(
GetPC
(
"PointBlockJacobi_dG"
))).
WithLinearSolver
(
new
GMRES
(
GetPC
(
"PointBlockJacobi_dG"
))).
WithLinearSolver
(
new
GMRES
(
GetPC
(
"PointBlockJacobi_dG"
))).
CreateUnique
())
{
CreateUnique
();
if
(
verbose
)
mout
.
PrintInfo
(
"TransportPDESolver"
,
verbose
,
PrintInfoEntry
(
"Quantity"
,
quantity
),
...
...
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