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
de111d22
Commit
de111d22
authored
18 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Removed resundant tripel class. We are using Tuple instead
[[Imported from SVN: r4840]]
parent
aefad81c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
common/Makefile.am
+1
-1
1 addition, 1 deletion
common/Makefile.am
common/test/fmatrixtest.cc
+1
-1
1 addition, 1 deletion
common/test/fmatrixtest.cc
common/tripel.hh
+0
-42
0 additions, 42 deletions
common/tripel.hh
with
2 additions
and
44 deletions
common/Makefile.am
+
1
−
1
View file @
de111d22
...
@@ -20,7 +20,7 @@ commoninclude_HEADERS = dlist.cc stdstreams.cc alignment.hh \
...
@@ -20,7 +20,7 @@ commoninclude_HEADERS = dlist.cc stdstreams.cc alignment.hh \
typetraits.hh precision.hh bigunsignedint.hh
\
typetraits.hh precision.hh bigunsignedint.hh
\
gcd.hh lcm.hh configparser.hh propertymap.hh
\
gcd.hh lcm.hh configparser.hh propertymap.hh
\
collectivecommunication.hh mpihelper.hh singleton.hh
\
collectivecommunication.hh mpihelper.hh singleton.hh
\
mpicollectivecommunication.hh geometrytype.hh
tripel.hh
utility.hh
\
mpicollectivecommunication.hh geometrytype.hh utility.hh
\
bartonnackmanifcheck.hh binaryfunctions.hh
bartonnackmanifcheck.hh binaryfunctions.hh
if
EXPRESSIONTEMPLATES
if
EXPRESSIONTEMPLATES
...
...
This diff is collapsed.
Click to expand it.
common/test/fmatrixtest.cc
+
1
−
1
View file @
de111d22
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
using
namespace
Dune
;
using
namespace
Dune
;
template
<
typename
T
,
in
t
n
>
template
<
typename
T
,
std
::
size_
t
n
>
int
test_invert_solve
(
T
A_data
[
n
*
n
],
T
inv_data
[
n
*
n
],
int
test_invert_solve
(
T
A_data
[
n
*
n
],
T
inv_data
[
n
*
n
],
T
x_data
[
n
],
T
b_data
[
n
])
T
x_data
[
n
],
T
b_data
[
n
])
{
{
...
...
This diff is collapsed.
Click to expand it.
common/tripel.hh
deleted
100644 → 0
+
0
−
42
View file @
aefad81c
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_TRIPEL_HH
#define DUNE_TRIPEL_HH
namespace
Dune
{
// a tripel class similar to std::pair
template
<
typename
T1
,
typename
T2
,
typename
T3
>
struct
tripel
{
typedef
T1
first_type
;
typedef
T2
second_type
;
typedef
T3
third_type
;
T1
first
;
T2
second
;
T3
third
;
tripel
()
{}
tripel
(
const
T1
&
t1
,
const
T2
&
t2
,
const
T3
&
t3
)
:
first
(
t1
),
second
(
t2
),
third
(
t3
)
{}
bool
operator
<
(
const
tripel
<
T1
,
T2
,
T3
>&
y
)
const
{
if
(
first
<
y
.
first
)
return
true
;
if
(
y
.
first
<
first
)
return
false
;
if
(
second
<
y
.
second
)
return
true
;
if
(
y
.
second
<
second
)
return
false
;
if
(
third
<
y
.
third
)
return
true
;
return
false
;
}
bool
operator
==
(
const
tripel
<
T1
,
T2
,
T3
>&
y
)
const
{
if
(
first
==
y
.
first
&&
second
==
y
.
second
&&
third
==
y
.
third
)
return
true
;
return
false
;
}
};
}
#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