guagua-pamcn / a-dda

Automatically exported from code.google.com/p/a-dda
0 stars 0 forks source link

More accurate calculation of minimal computational box around the particle #129

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is a continuation of issue 123. Now the computational is determined before 
the full generation of the shape based on its proportions. In certain cases 
this can overestimate the actual dimensions of set of occupied dipoles. This 
doesn't effect the accuracy of the results, but the time of the simulation 
would decrease if minimal box enclosing the particle is used. 

So after the particle generation (filling of all non-void dipoles) the particle 
should be analyzed to derive the minimal enclosing box. This probably can be 
done during transition from arrays position_tmp, etc. to arrays position, etc. 
in MakeParticle().

This would also decrease the amount of problems for external routines 
processing shape files.

Original issue reported on code.google.com by yurkin on 16 Feb 2011 at 3:11

GoogleCodeExporter commented 8 years ago

Original comment by yurkin on 16 Feb 2011 at 6:10

GoogleCodeExporter commented 8 years ago

Original comment by yurkin on 28 Apr 2013 at 3:52