Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
infrastructure
unsio
Commits
a3b3e046
Commit
a3b3e046
authored
Jun 17, 2016
by
LAMBERT Jean-charles
Browse files
update info
parent
bdc88990
Pipeline
#308
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/camr.cc
View file @
a3b3e046
...
...
@@ -516,7 +516,7 @@ template <class T> int CAmr::loadData(uns::CParticles<T> * particles,
catch
(
const
int
e
)
{
// suppose to catch bug on wrong nvarg value
// from ramses code prior 2012
assert
(
is_gravity
&&
(
req_bits
&
POT_BIT
||
req_bits
&
ACC_BIT
));
// we must be here if there is gravity
std
::
cerr
<<
"
\n\n
Catch error on gravity files,
try
next alorithms....
\n
"
;
std
::
cerr
<<
"
\n\n
Catch error on gravity files,
probably ramses code prior 2012
\n
trying
next alorithms
, please wait
....
\n
\n
"
;
if
(
nvarg
>
ndim
)
{
std
::
cerr
<<
"ALGORITHM ERROR, nvarg>ndim
\n
"
;
assert
(
0
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment