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
ab52ae45
Commit
ab52ae45
authored
5 years ago
by
Sina Ackermann
Committed by
Katharina Heck
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adapt CMakeLists.txt, use ALUGRID
* test passes
parent
ac66c19a
No related branches found
No related tags found
1 merge request
!1547
[examples] Set up problem for documentation (2p, adaptive, point source)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/2pinfiltration/CMakeLists.txt
+2
-2
2 additions, 2 deletions
examples/2pinfiltration/CMakeLists.txt
examples/2pinfiltration/problem.hh
+5
-5
5 additions, 5 deletions
examples/2pinfiltration/problem.hh
with
7 additions
and
7 deletions
examples/2pinfiltration/CMakeLists.txt
+
2
−
2
View file @
ab52ae45
...
@@ -9,5 +9,5 @@ dune_add_test(NAME test_2p_pointsource_adaptive
...
@@ -9,5 +9,5 @@ dune_add_test(NAME test_2p_pointsource_adaptive
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_2p_pointsource_adaptive_tpfa-reference.vtu
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_2p_pointsource_adaptive_tpfa-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p_pointsource_adaptive
_tpfa
-00001.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p_pointsource_adaptive-00001.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p_pointsource_adaptive
_tpfa
params.input -Problem.Name test_2p_pointsource_adaptive
_tpfa
"
)
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p_pointsource_adaptive params.input -Problem.Name test_2p_pointsource_adaptive"
)
This diff is collapsed.
Click to expand it.
examples/2pinfiltration/problem.hh
+
5
−
5
View file @
ab52ae45
...
@@ -54,13 +54,13 @@ namespace Dumux {
...
@@ -54,13 +54,13 @@ namespace Dumux {
}
// end namespace TTag
}
// end namespace TTag
//! Use non-conforming refinement
//! Use non-conforming refinement
//
#if HAVE_DUNE_ALUGRID
TODO
#if HAVE_DUNE_ALUGRID
//
template<class TypeTag>
template
<
class
TypeTag
>
//
struct Grid<TypeTag, TTag::TwoPAdaptivePointSource> { using type = Dune::ALUGrid<2, 2, Dune::cube, Dune::nonconforming>; };
struct
Grid
<
TypeTag
,
TTag
::
TwoPAdaptivePointSource
>
{
using
type
=
Dune
::
ALUGrid
<
2
,
2
,
Dune
::
cube
,
Dune
::
nonconforming
>
;
};
//
#else
#else
template
<
class
TypeTag
>
template
<
class
TypeTag
>
struct
Grid
<
TypeTag
,
TTag
::
TwoPAdaptivePointSource
>
{
using
type
=
Dune
::
YaspGrid
<
2
>
;
};
struct
Grid
<
TypeTag
,
TTag
::
TwoPAdaptivePointSource
>
{
using
type
=
Dune
::
YaspGrid
<
2
>
;
};
//
#endif
#endif
template
<
class
TypeTag
>
template
<
class
TypeTag
>
struct
Problem
<
TypeTag
,
TTag
::
TwoPAdaptivePointSource
>
{
using
type
=
PointSourceTestProblem
<
TypeTag
>
;
};
struct
Problem
<
TypeTag
,
TTag
::
TwoPAdaptivePointSource
>
{
using
type
=
PointSourceTestProblem
<
TypeTag
>
;
};
...
...
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