Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Timo Koch
dune-common
Commits
42ddac2a
Commit
42ddac2a
authored
20 years ago
by
Robert Klöfkorn
Browse files
Options
Downloads
Patches
Plain Diff
Minor changes for parallel runs.
[[Imported from SVN: r741]]
parent
976c523f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
grid/albertgrid.hh
+18
-9
18 additions, 9 deletions
grid/albertgrid.hh
with
18 additions
and
9 deletions
grid/albertgrid.hh
+
18
−
9
View file @
42ddac2a
...
...
@@ -71,11 +71,27 @@ extern "C"
#endif
#endif
namespace
Dune
{
enum
IteratorType
{
Master
,
//!< iterate over all entities which belong to
Interior
,
//!< iterate over all interior entities
Border
,
//!< iterate over entities which define the pr
//!< border , all codims possible
Ghosts
,
//!< iterate over all ghost cells
InteriorBorder
,
//!< iterate over Interior and Border
All
,
//!< iterate over all cells on this processor
};
}
// contains a simple memory management for some componds of this grid
#include
"albertgrid/agmemory.hh"
// contains the communication for parallel computing for this grid
#ifndef MPI_ACTIVE
#undef HAVE_MPI
#endif
#include
"albertgrid/agcommunicator.hh"
namespace
Dune
...
...
@@ -104,14 +120,6 @@ namespace Dune
@{
*/
enum
IteratorType
{
Master
,
//!< iterate over all entities which belong to
Interior
,
//!< iterate over all interior entities
Border
,
//!< iterate over entities which define the pr
//!< border , all codims possible
Ghosts
,
//!< iterate over all ghost cells
InteriorBorder
,
//!< iterate over Interior and Border
All
,
//!< iterate over all cells on this processor
};
// i.e. double or float
...
...
@@ -1157,6 +1165,8 @@ namespace Dune
//! calculate max edge length
double
calcGridWidth
();
// void checkBoundray();
private
:
// initialize of some members
void
initGrid
(
int
proc
);
...
...
@@ -1343,6 +1353,5 @@ namespace Dune
#include
"albertgrid/agmemory.hh"
#include
"albertgrid/albertgrid.cc"
//#include "albertgrid/albertparalleliterator.cc"
#endif
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