Skip to content
Snippets Groups Projects
Commit 3058cefb authored by Kurt A. O'Hearn's avatar Kurt A. O'Hearn
Browse files

PG-PuReMD: fix BGF parser for >1 process (correct atom counts within local...

PG-PuReMD: fix BGF parser for >1 process (correct atom counts within local simulation box boundaries).
parent dd12580e
No related branches found
No related tags found
No related merge requests found
...@@ -838,6 +838,9 @@ void Read_BGF( const char * const bgf_file, reax_system * const system, ...@@ -838,6 +838,9 @@ void Read_BGF( const char * const bgf_file, reax_system * const system,
MPI_Abort( MPI_COMM_WORLD, INVALID_GEO ); MPI_Abort( MPI_COMM_WORLD, INVALID_GEO );
} }
system->n = atom_cnt;
system->N = atom_cnt;
Deallocate_Tokenizer_Space( &line, &backup, &tokens, MAX_TOKENS ); Deallocate_Tokenizer_Space( &line, &backup, &tokens, MAX_TOKENS );
sfclose( bgf, "Read_BGF::bgf" ); sfclose( bgf, "Read_BGF::bgf" );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment