mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
Activated call to SDF loader in generateMock
This commit is contained in:
parent
9dff8cfb5a
commit
3c9ad41132
2 changed files with 10 additions and 0 deletions
|
@ -618,6 +618,12 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
loader = multidarkLoader(args_info.multidark_arg, preselector);
|
loader = multidarkLoader(args_info.multidark_arg, preselector);
|
||||||
}
|
}
|
||||||
|
#ifdef SDF_SUPPORT
|
||||||
|
else if (args_info.sdf_given)
|
||||||
|
{
|
||||||
|
loader = sdfLoader(args_info.sdf_arg, args_info.sdf_splitting_arg, NEED_POSITION|NEED_VELOCITY|NEED_GADGET_ID, preselector);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cerr << "A simulation snapshot is required to generate a mock catalog." << endl;
|
cerr << "A simulation snapshot is required to generate a mock catalog." << endl;
|
||||||
|
|
|
@ -11,6 +11,9 @@ option "gadget" - "Base name of gadget snapshot (without parallel writing ex
|
||||||
option "flash" - "Base name for FLASH snapshot" string optional
|
option "flash" - "Base name for FLASH snapshot" string optional
|
||||||
option "multidark" - "Base name for multidark snapshot" string optional
|
option "multidark" - "Base name for multidark snapshot" string optional
|
||||||
|
|
||||||
|
option "sdf" - "SDF snapshot name" string optional
|
||||||
|
option "sdf_splitting" - "Number of artificial splitting of the SDF snapshot" int optional default="20"
|
||||||
|
|
||||||
option "axis" - "Redshift axis (X=0, Y=1, Z=2)" int optional default="2"
|
option "axis" - "Redshift axis (X=0, Y=1, Z=2)" int optional default="2"
|
||||||
|
|
||||||
option "output" - "Output filename for particles" string required
|
option "output" - "Output filename for particles" string required
|
||||||
|
@ -37,3 +40,4 @@ option "subsample_seed" - "Seed for random number generation to select the subsa
|
||||||
|
|
||||||
option "resubsample" - "Resubsampling factor compared to the subsampled simulation" double optional
|
option "resubsample" - "Resubsampling factor compared to the subsampled simulation" double optional
|
||||||
option "resubsample_seed" - "Seed for resubsampling from a subsampled simulation" int optional default="20132011"
|
option "resubsample_seed" - "Seed for resubsampling from a subsampled simulation" int optional default="20132011"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue