Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-uggrid
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
staging
dune-uggrid
Commits
b97f2c22
Commit
b97f2c22
authored
3 years ago
by
Oliver Sander
Committed by
Ansgar Burchardt
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove Format::MaxType
parent
f31a8879
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!176
Rip out the Format data structure and large parts of the UG3 algebra
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/uggrid/gm/enrol.cc
+0
-1
0 additions, 1 deletion
dune/uggrid/gm/enrol.cc
dune/uggrid/gm/gm.h
+0
-5
0 additions, 5 deletions
dune/uggrid/gm/gm.h
with
0 additions
and
6 deletions
dune/uggrid/gm/enrol.cc
+
0
−
1
View file @
b97f2c22
...
@@ -251,7 +251,6 @@ std::unique_ptr<FORMAT> NS_DIM_PREFIX CreateFormat ()
...
@@ -251,7 +251,6 @@ std::unique_ptr<FORMAT> NS_DIM_PREFIX CreateFormat ()
FMT_MAX_PART
(
fmt
)
=
MAX
(
FMT_MAX_PART
(
fmt
),
i
);
FMT_MAX_PART
(
fmt
)
=
MAX
(
FMT_MAX_PART
(
fmt
),
i
);
MaxType
=
MAX
(
MaxType
,
po2t
[
i
][
j
]);
MaxType
=
MAX
(
MaxType
,
po2t
[
i
][
j
]);
}
}
FMT_MAX_TYPE
(
fmt
)
=
MaxType
;
return
fmt
;
return
fmt
;
}
}
...
...
This diff is collapsed.
Click to expand it.
dune/uggrid/gm/gm.h
+
0
−
5
View file @
b97f2c22
...
@@ -393,10 +393,6 @@ struct format {
...
@@ -393,10 +393,6 @@ struct format {
/** \brief largest part used */
/** \brief largest part used */
INT
MaxPart
;
INT
MaxPart
;
/* both derived from po2t */
/* both derived from po2t */
/** \brief largest type used */
INT
MaxType
;
/* derived from VectorSizes */
};
};
typedef
struct
{
typedef
struct
{
...
@@ -2946,7 +2942,6 @@ grid::dddContext()
...
@@ -2946,7 +2942,6 @@ grid::dddContext()
#define FMT_TYPE_USES_OBJ(f,t,o) ((f)->t2o[o] & (1<<o))
#define FMT_TYPE_USES_OBJ(f,t,o) ((f)->t2o[o] & (1<<o))
#define FMT_USES_OBJ(f,o) ((f)->OTypeUsed[o])
#define FMT_USES_OBJ(f,o) ((f)->OTypeUsed[o])
#define FMT_MAX_PART(f) ((f)->MaxPart)
#define FMT_MAX_PART(f) ((f)->MaxPart)
#define FMT_MAX_TYPE(f) ((f)->MaxType)
#define FMT_N2T(f,c) (((c)<FROM_VTNAME) ? NOVTYPE : ((c)>TO_VTNAME) ? NOVTYPE : (f)->n2t[(c)-FROM_VTNAME])
#define FMT_N2T(f,c) (((c)<FROM_VTNAME) ? NOVTYPE : ((c)>TO_VTNAME) ? NOVTYPE : (f)->n2t[(c)-FROM_VTNAME])
#define FMT_SET_N2T(f,c,t) ((f)->n2t[(c)-FROM_VTNAME] = t)
#define FMT_SET_N2T(f,c,t) ((f)->n2t[(c)-FROM_VTNAME] = t)
...
...
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