mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Merge branch 'master' of https://bitbucket.org/cosmicvoids/void_identification
This commit is contained in:
commit
5783109225
14 changed files with 455 additions and 247 deletions
|
@ -334,7 +334,8 @@ void generateSurfaceMask(generateFromCatalog_info& args ,
|
|||
// TEST - insert mock galaxies along spheres of survey redshift boundaries
|
||||
fp = fopen("mock_sphere.txt", "w");
|
||||
|
||||
for (int p = 0; p < full_mask_list.size(); p++) {
|
||||
for (int p = 0; p < 0; p++) {
|
||||
//for (int p = 0; p < full_mask_list.size(); p++) {
|
||||
vec3 v = mask.pix2vec(full_mask_list[p]);
|
||||
|
||||
Position p;
|
||||
|
|
|
@ -23,10 +23,6 @@ using boost::format;
|
|||
#define LIGHT_SPEED 299792.458
|
||||
|
||||
typedef boost::function2<void, SimuData*, double*> MetricFunctor;
|
||||
|
||||
|
||||
|
||||
static double cubic(double a)
|
||||
{
|
||||
return a*a*a;
|
||||
}
|
||||
|
@ -217,8 +213,6 @@ void generateOutput(SimuData *data, int axis,
|
|||
f.beginCheckpoint();
|
||||
for (uint32_t i = 0; i < data->NumPart; i++)
|
||||
{
|
||||
//printf("HELLO %d %d\n", i, data->Id[i]);
|
||||
//f.writeReal32(data->Id[i]);
|
||||
f.writeInt64(uniqueID[i]);
|
||||
}
|
||||
f.endCheckpoint();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue