Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-alugrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ag-ohlberger
dune-community
dune-alugrid
Commits
015d1969
Commit
015d1969
authored
9 years ago
by
Robert K
Browse files
Options
Downloads
Patches
Plain Diff
[bugfix] put ALUGrid grid type definitions at the bottom of config.h
parent
c586e1a2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/modules/DuneAlugridMacros.cmake
+4
-4
4 additions, 4 deletions
cmake/modules/DuneAlugridMacros.cmake
config.h.cmake
+2
-0
2 additions, 0 deletions
config.h.cmake
with
6 additions
and
4 deletions
cmake/modules/DuneAlugridMacros.cmake
+
4
−
4
View file @
015d1969
...
...
@@ -7,18 +7,18 @@ set(DUNE_ALUGRID_LIBRARY "${PROJECT_BINARY_DIR}/lib/libdunealugrid.a"
CACHE FILEPATH
"path to local libs in dune-alugrid"
)
mark_as_advanced
(
DUNE_ALUGRID_LIBRARY
)
include
(
GridSelector
)
#
include(GridSelector)
#initialize_grid_selector()
#set(GRIDS GRID_CONFIG_H_BOTTOM)
#define available alugrid types
dune_define_alugridtype
(
GRID_CONFIG_H_BOTTOM GRIDTYPE ALUGRID_CONFORM
dune_define_alugridtype
(
ALU
GRID_CONFIG_H_BOTTOM GRIDTYPE ALUGRID_CONFORM
DUNETYPE
"Dune::ALUGrid< dimgrid, dimworld, simplex, conforming >"
HEADERS dune/alugrid/grid.hh dune/alugrid/dgf.hh
)
dune_define_alugridtype
(
GRID_CONFIG_H_BOTTOM GRIDTYPE ALUGRID_CUBE
dune_define_alugridtype
(
ALU
GRID_CONFIG_H_BOTTOM GRIDTYPE ALUGRID_CUBE
DUNETYPE
"Dune::ALUGrid< dimgrid, dimworld, cube, nonconforming >"
HEADERS dune/alugrid/grid.hh dune/alugrid/dgf.hh
)
dune_define_alugridtype
(
GRID_CONFIG_H_BOTTOM GRIDTYPE ALUGRID_SIMPLEX
dune_define_alugridtype
(
ALU
GRID_CONFIG_H_BOTTOM GRIDTYPE ALUGRID_SIMPLEX
DUNETYPE
"Dune::ALUGrid< dimgrid, dimworld, simplex, nonconforming >"
HEADERS dune/alugrid/grid.hh dune/alugrid/dgf.hh
)
...
...
This diff is collapsed.
Click to expand it.
config.h.cmake
+
2
−
0
View file @
015d1969
...
...
@@ -55,4 +55,6 @@
/* Include source file for dlmalloc */
#cmakedefine DLMALLOC_SOURCE_INCLUDE ${DLMALLOC_SOURCE_INCLUDE}
/* Grid type magic for DGF parser */
@ALUGRID_CONFIG_H_BOTTOM@
/* end dune-alugrid */
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