Commit 6969997e authored by LAMBERT Jean-charles's avatar LAMBERT Jean-charles

add SSL and ssl for gadget2 stars particles

parent ee002f04
...@@ -600,7 +600,7 @@ int CSnapshotGadgetIn<T>::read(uns::UserSelection &user_select) ...@@ -600,7 +600,7 @@ int CSnapshotGadgetIn<T>::read(uns::UserSelection &user_select)
readOneArray(&im,4,compOffset); readOneArray(&im,4,compOffset);
} }
// --> SSL block // --> SSL block
if (block_name=="SSL" && this->req_bits&SSL_BIT && this->comp_bits&STARS_BIT) { if ((block_name=="SSL" || block_name=="ssl") && this->req_bits&SSL_BIT && this->comp_bits&STARS_BIT) {
this->load_bits |= SSL_BIT; this->load_bits |= SSL_BIT;
assert((header.npart[4])>0); // stars assert((header.npart[4])>0); // stars
ok=true; ok=true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment