Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-geometry
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
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
Core Modules
dune-geometry
Commits
93248a00
Commit
93248a00
authored
12 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
Minor cleanup: get rid of the 'codimension' variable
[[Imported from SVN: r118]]
parent
3f632d28
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/geometry/genericgeometry/geometry.hh
+2
-5
2 additions, 5 deletions
dune/geometry/genericgeometry/geometry.hh
with
2 additions
and
5 deletions
dune/geometry/genericgeometry/geometry.hh
+
2
−
5
View file @
93248a00
...
...
@@ -272,10 +272,7 @@ namespace Dune
typedef
FieldVector
<
ctype
,
coorddimension
>
GlobalCoordinate
;
private:
dune_static_assert
(
(
0
<=
mydimension
)
&&
(
mydimension
<=
dimGrid
),
"Invalid geometry dimension."
);
static
const
int
codimension
=
dimGrid
-
mydimension
;
dune_static_assert
(
(
0
<=
mydimension
),
"Geometry dimension must be nonnegative."
);
template
<
bool
>
struct
Hybrid
...
...
@@ -292,7 +289,7 @@ namespace Dune
typedef
typename
SelectType
<
Traits
::
hybrid
,
Hybrid
<
true
>
,
NonHybrid
<
false
>
>::
Type
::
Mapping
ElementMapping
;
typedef
GenericGeometry
::
MappingProvider
<
ElementMapping
,
co
dimension
>
MappingProvider
;
typedef
GenericGeometry
::
MappingProvider
<
ElementMapping
,
dimGrid
-
my
dimension
>
MappingProvider
;
protected
:
typedef
typename
MappingProvider
::
Mapping
Mapping
;
...
...
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