Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backofen, Rainer
amdis
Commits
2dc6711d
Commit
2dc6711d
authored
Mar 18, 2008
by
Peter Gottschling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only small magnitudes, not negative numbers filtered.
parent
b611d808
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
AMDiS/src/VtkWriter.cc
AMDiS/src/VtkWriter.cc
+2
-1
No files found.
AMDiS/src/VtkWriter.cc
View file @
2dc6711d
#include <stdio.h>
#include <string>
#include <fstream>
#include <cstdlib>
#include "VtkWriter.h"
#include "DataCollector.h"
...
...
@@ -112,7 +113,7 @@ namespace AMDiS {
{
if
(
*
intPointIt
==
-
2
)
{
for
(
int
j
=
0
;
j
<
static_cast
<
int
>
(
coordIt
->
size
());
j
++
)
{
if
(
*
valueIt
<
1e-40
)
{
if
(
std
::
abs
(
*
valueIt
)
<
1e-40
)
{
file
<<
" "
<<
0.0
<<
::
std
::
endl
;
}
else
{
file
<<
" "
<<
*
valueIt
<<
::
std
::
endl
;
...
...
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