From e121d9547cb32bcd2f746354a20e269911102d38 Mon Sep 17 00:00:00 2001 From: jonorbe Date: Thu, 19 Jul 2012 19:14:34 +0200 Subject: [PATCH] Some changes in output_art.cc --- plugins/output_art.cc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/plugins/output_art.cc b/plugins/output_art.cc index 6dd901d..549f53e 100644 --- a/plugins/output_art.cc +++ b/plugins/output_art.cc @@ -130,11 +130,17 @@ public: } - void write_dm_position() - {} - - void write_dm_velocity() - {} + void write_dm_pages() + { + //The direct format write the particle data in pages. + // Each page of particles is read into a common block, + // which has the structure: X(Npage),Y(Npage),Z(Npage), + // Vx(Npage),Vy(Npage),Vz(Npage). + ///The number of particles in each page (Npage) is Npage = Nrow**2 + // There are NO Fortran size blocks pre or after these blocks!! + //// Contradiction with documentation?? one file for each type of particle + // however Daniel sent me just one file for a zoom. + } void finalize( void ) { }