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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
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
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
Core Modules
dune-common
Commits
495677d6
Commit
495677d6
authored
20 years ago
by
Peter Bastian
Browse files
Options
Downloads
Patches
Plain Diff
added the three new size methods
[[Imported from SVN: r1956]]
parent
a1c3e2b3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
grid/onedgrid.hh
+27
-0
27 additions, 0 deletions
grid/onedgrid.hh
with
27 additions
and
0 deletions
grid/onedgrid.hh
+
27
−
0
View file @
495677d6
...
...
@@ -26,6 +26,7 @@ namespace Dune
/** \brief The type used by to store coordinates */
typedef
double
OneDCType
;
// forward declarations
template
<
int
codim
,
int
dim
,
class
GridImp
>
class
OneDGridEntity
;
template
<
int
codim
,
class
GridImp
>
class
OneDGridEntityPointer
;
...
...
@@ -252,6 +253,32 @@ namespace Dune {
return
vertices
[
level
].
size
();
}
//! number of leaf entities per codim in this process
int
size
(
int
codim
)
const
{
DUNE_THROW
(
NotImplemented
,
"not implemented"
);
return
0
;
}
//! number of entities per level, codim and geometry type in this process
int
size
(
int
level
,
int
codim
,
GeometryType
type
)
const
{
DUNE_THROW
(
NotImplemented
,
"not implemented"
);
return
0
;
}
//! number of leaf entities per codim and geometry type in this process
int
size
(
int
codim
,
GeometryType
type
)
const
{
DUNE_THROW
(
NotImplemented
,
"not implemented"
);
return
0
;
}
/** \brief Mark entity for refinement
*
* \param refCount if >0 mark for refinement, if <0 mark for coarsening
...
...
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