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
361dec3e
Commit
361dec3e
authored
12 years ago
by
Robert Kloefkorn
Browse files
Options
Downloads
Patches
Plain Diff
added checkparalel.hh
parent
df2411ef
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dune/alugrid/3d/alu3dinclude.hh
+1
-1
1 addition, 1 deletion
dune/alugrid/3d/alu3dinclude.hh
dune/alugrid/common/Makefile.am
+12
-11
12 additions, 11 deletions
dune/alugrid/common/Makefile.am
dune/alugrid/common/checkparallel.hh
+19
-0
19 additions, 0 deletions
dune/alugrid/common/checkparallel.hh
with
32 additions
and
12 deletions
dune/alugrid/3d/alu3dinclude.hh
+
1
−
1
View file @
361dec3e
...
...
@@ -60,7 +60,7 @@ namespace ALUGrid
}
// namespace ALUGrid
//
#include <dune/alugrid/common/checkparallel.hh>
#include
<dune/alugrid/common/checkparallel.hh>
// if MPI was found include all headers
#if ALU3DGRID_PARALLEL
...
...
This diff is collapsed.
Click to expand it.
dune/alugrid/common/Makefile.am
+
12
−
11
View file @
361dec3e
alucommondir
=
$(
includedir
)
/dune/alugrid/common
alucommon_HEADERS
=
backuprestore.hh
\
bndprojection.hh
\
capabilities.hh
\
declaration.hh
\
defaultindexsets.hh
\
geostorage.hh
\
intersectioniteratorwrapper.hh
\
interfaces.hh
\
memory.hh
\
objectfactory.hh
\
persistentcontainer.hh
\
transformation.hh
bndprojection.hh
\
capabilities.hh
\
checkparallel.hh
\
declaration.hh
\
defaultindexsets.hh
\
geostorage.hh
\
intersectioniteratorwrapper.hh
\
interfaces.hh
\
memory.hh
\
objectfactory.hh
\
persistentcontainer.hh
\
transformation.hh
include
$(top_srcdir)/am/global-rules
This diff is collapsed.
Click to expand it.
dune/alugrid/common/checkparallel.hh
0 → 100644
+
19
−
0
View file @
361dec3e
#ifndef DUNE_ALUGRID_CHECKPARALLEL_HH
#define DUNE_ALUGRID_CHECKPARALLEL_HH
#if HAVE_MPI
// if this variable is defined,
// then parallel version of ALUGrid is compiled
#if HAVE_DUNE_ALUGRID_MPI
#define ALU3DGRID_PARALLEL 1
#else
#warning "The ALUGrid-library wasn't compiled for parallel usage. Reconfigure\
using the MPI compiler script or compile Dune without the MPI support!\
Defaulting to serial ALUGrid!"
#define ALU3DGRID_PARALLEL 0
#endif
#else // #if HAVE_MPI
#define ALU3DGRID_PARALLEL 0
#endif // #else // #if HAVE_MPI
#endif // #ifndef DUNE_ALUGRID_CHECKPARALLEL_HH
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