Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Backofen, Rainer
amdis
Commits
2dc6711d
Commit
2dc6711d
authored
Mar 18, 2008
by
Peter Gottschling
Browse files
Only small magnitudes, not negative numbers filtered.
parent
b611d808
Changes
1
Hide whitespace changes
Inline
Side-by-side
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