Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
c50d1680
Commit
c50d1680
authored
8 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[cleanup] Make embedded 1p_1p test run again. VtkOutputModule became property
parent
0ab5a1f3
No related branches found
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/mixeddimension/embedded/1p_1p/bloodflowproblem.hh
+2
-1
2 additions, 1 deletion
test/mixeddimension/embedded/1p_1p/bloodflowproblem.hh
test/mixeddimension/embedded/1p_1p/tissueproblem.hh
+2
-1
2 additions, 1 deletion
test/mixeddimension/embedded/1p_1p/tissueproblem.hh
with
4 additions
and
2 deletions
test/mixeddimension/embedded/1p_1p/bloodflowproblem.hh
+
2
−
1
View file @
c50d1680
...
...
@@ -106,6 +106,7 @@ class BloodFlowProblem : public ImplicitPorousMediaProblem<TypeTag>
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FVElementGeometry
);
using
SubControlVolume
=
typename
GET_PROP_TYPE
(
TypeTag
,
SubControlVolume
);
using
ElementSolutionVector
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementSolutionVector
);
using
VtkOutputModule
=
typename
GET_PROP_TYPE
(
TypeTag
,
VtkOutputModule
);
using
Element
=
typename
GridView
::
template
Codim
<
0
>
::
Entity
;
using
GlobalPosition
=
Dune
::
FieldVector
<
Scalar
,
dimworld
>
;
...
...
@@ -324,7 +325,7 @@ public:
/*!
* \brief Adds additional VTK output data to the VTKWriter. Function is called by the output module on every write.
*/
void
addVtkOutputFields
(
VtkOutputModule
<
TypeTag
>
&
outputModule
)
const
void
addVtkOutputFields
(
VtkOutputModule
&
outputModule
)
const
{
auto
&
p
=
outputModule
.
createScalarField
(
"exact pressure"
,
dofCodim
);
p
=
exactPressure_
;
...
...
This diff is collapsed.
Click to expand it.
test/mixeddimension/embedded/1p_1p/tissueproblem.hh
+
2
−
1
View file @
c50d1680
...
...
@@ -104,6 +104,7 @@ class TissueProblem : public ImplicitPorousMediaProblem<TypeTag>
using
TimeManager
=
typename
GET_PROP_TYPE
(
TypeTag
,
TimeManager
);
using
PointSource
=
typename
GET_PROP_TYPE
(
TypeTag
,
PointSource
);
using
Indices
=
typename
GET_PROP_TYPE
(
TypeTag
,
Indices
);
using
VtkOutputModule
=
typename
GET_PROP_TYPE
(
TypeTag
,
VtkOutputModule
);
// copy some indices for convenience
enum
{
...
...
@@ -328,7 +329,7 @@ public:
/*!
* \brief Adds additional VTK output data to the VTKWriter. Function is called by the output module on every write.
*/
void
addVtkOutputFields
(
VtkOutputModule
<
TypeTag
>
&
outputModule
)
const
void
addVtkOutputFields
(
VtkOutputModule
&
outputModule
)
const
{
auto
&
p
=
outputModule
.
createScalarField
(
"exact pressure"
,
dofCodim
);
p
=
exactPressure_
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment