Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dune-amdis
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Praetorius, Simon
dune-amdis
Commits
0057b587
Commit
0057b587
authored
Dec 16, 2017
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup of whitespaces
parent
289b2b9a
Pipeline
#938
failed with stage
in 1 minute and 30 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
25 deletions
+15
-25
dune/amdis/Initfile.hpp
dune/amdis/Initfile.hpp
+6
-2
dune/amdis/Math.hpp
dune/amdis/Math.hpp
+0
-15
dune/amdis/utility/Filesystem.cpp
dune/amdis/utility/Filesystem.cpp
+9
-8
No files found.
dune/amdis/Initfile.hpp
View file @
0057b587
...
@@ -142,7 +142,9 @@ namespace AMDiS
...
@@ -142,7 +142,9 @@ namespace AMDiS
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
std
::
list
<
T
,
Alloc
>
const
&
l
)
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
std
::
list
<
T
,
Alloc
>
const
&
l
)
{
{
auto
it
=
l
.
begin
();
auto
it
=
l
.
begin
();
out
<<
"["
;
if
(
l
.
size
()
>
0
)
out
<<
*
it
;
out
<<
"["
;
if
(
l
.
size
()
>
0
)
out
<<
*
it
;
for
(;
it
!=
l
.
end
();
++
it
)
for
(;
it
!=
l
.
end
();
++
it
)
out
<<
", "
<<
*
it
;
out
<<
", "
<<
*
it
;
out
<<
"]"
;
out
<<
"]"
;
...
@@ -155,7 +157,9 @@ namespace AMDiS
...
@@ -155,7 +157,9 @@ namespace AMDiS
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
std
::
vector
<
T
,
Alloc
>
const
&
l
)
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
std
::
vector
<
T
,
Alloc
>
const
&
l
)
{
{
auto
it
=
l
.
begin
();
auto
it
=
l
.
begin
();
out
<<
"["
;
if
(
l
.
size
()
>
0
)
out
<<
*
it
;
out
<<
"["
;
if
(
l
.
size
()
>
0
)
out
<<
*
it
;
for
(;
it
!=
l
.
end
();
++
it
)
for
(;
it
!=
l
.
end
();
++
it
)
out
<<
", "
<<
*
it
;
out
<<
", "
<<
*
it
;
out
<<
"]"
;
out
<<
"]"
;
...
...
dune/amdis/Math.hpp
View file @
0057b587
...
@@ -119,19 +119,4 @@ namespace AMDiS
...
@@ -119,19 +119,4 @@ namespace AMDiS
return
!
std
::
isnan
(
val
)
&&
!
std
::
isinf
(
val
);
return
!
std
::
isnan
(
val
)
&&
!
std
::
isinf
(
val
);
}
}
// some predefined constants
constexpr
double
m_e
=
2.7182818284590452354
;
constexpr
double
m_log2e
=
1.4426950408889634074
;
constexpr
double
m_log10e
=
0.43429448190325182765
;
constexpr
double
m_ln2
=
0.69314718055994530942
;
constexpr
double
m_ln10
=
2.30258509299404568402
;
constexpr
double
m_pi
=
3.14159265358979323846
;
constexpr
double
m_pi_2
=
1.57079632679489661923
;
constexpr
double
m_pi_4
=
0.78539816339744830962
;
constexpr
double
m_1_pi
=
0.31830988618379067154
;
constexpr
double
m_2_pi
=
0.63661977236758134308
;
constexpr
double
m_2_sqrtpi
=
1.12837916709551257390
;
constexpr
double
m_sqrt2
=
1.41421356237309504880
;
constexpr
double
m_sqrt1_2
=
0.70710678118654752440
;
}
// end namespace AMDiS
}
// end namespace AMDiS
dune/amdis/utility/Filesystem.cpp
View file @
0057b587
#include "Filesystem.hpp"
#include "Filesystem.hpp"
#include <string>
#include <fstream>
#include <stdio.h> // defines FILENAME_MAX
#include <cctype>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h> // errno, ENOENT, EEXIST
#ifdef _WIN32
#ifdef _WIN32
#include <direct.h> // _mkdir
#include <direct.h> // _mkdir
#define GET_CURRENT_DIR _getcwd
#define GET_CURRENT_DIR _getcwd
...
@@ -16,6 +8,15 @@
...
@@ -16,6 +8,15 @@
#define GET_CURRENT_DIR getcwd
#define GET_CURRENT_DIR getcwd
#endif
#endif
#include <errno.h> // errno, ENOENT, EEXIST
#include <stdio.h> // defines FILENAME_MAX
#include <sys/stat.h>
#include <sys/types.h>
#include <cctype>
#include <fstream>
#include <string>
#include <dune/amdis/Output.hpp>
#include <dune/amdis/Output.hpp>
template
<
class
...
Args
>
template
<
class
...
Args
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment