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
55140355
Commit
55140355
authored
14 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
Use class-name pretty-printing from classname.hh, instead of implementing our own
[[Imported from SVN: r6240]]
parent
868f2ab2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/common/test/fmatrixtest.cc
+1
-15
1 addition, 15 deletions
dune/common/test/fmatrixtest.cc
dune/common/test/fvectortest.cc
+1
-14
1 addition, 14 deletions
dune/common/test/fvectortest.cc
with
2 additions
and
29 deletions
dune/common/test/fmatrixtest.cc
+
1
−
15
View file @
55140355
...
...
@@ -6,27 +6,13 @@
#define DUNE_ISTL_WITH_CHECKING
#include
<dune/common/fmatrix.hh>
#include
<dune/common/fassign.hh>
#include
<dune/common/classname.hh>
#include
<iostream>
#include
<algorithm>
#include
<vector>
#ifdef __GNUC__
#include
<cxxabi.h>
#endif
using
namespace
Dune
;
template
<
class
T
>
std
::
string
className
(
T
&
t
)
{
#ifdef __GNUC__
int
status
;
return
abi
::
__cxa_demangle
(
typeid
(
t
).
name
(),
0
,
0
,
&
status
);
#else
return
typeid
(
t
).
name
();
#endif
};
template
<
typename
T
,
std
::
size_t
n
>
int
test_invert_solve
(
T
A_data
[
n
*
n
],
T
inv_data
[
n
*
n
],
T
x_data
[
n
],
T
b_data
[
n
])
...
...
This diff is collapsed.
Click to expand it.
dune/common/test/fvectortest.cc
+
1
−
14
View file @
55140355
...
...
@@ -7,28 +7,15 @@
#include
<dune/common/exceptions.hh>
#include
<dune/common/typetraits.hh>
#include
<dune/common/static_assert.hh>
#include
<dune/common/classname.hh>
#include
<iostream>
#include
<complex>
#include
<typeinfo>
#ifdef __GNUC__
#include
<cxxabi.h>
#endif
using
Dune
::
FieldVector
;
using
std
::
complex
;
template
<
class
T
>
std
::
string
className
(
T
&
t
)
{
#ifdef __GNUC__
int
status
;
return
abi
::
__cxa_demangle
(
typeid
(
t
).
name
(),
0
,
0
,
&
status
);
#else
return
typeid
(
t
).
name
();
#endif
};
template
<
class
ft
,
class
rt
,
int
d
>
struct
FieldVectorMainTest
{
...
...
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