SPH
Classes | Functions
main.cpp File Reference
#include "io/FileManager.h"
#include "io/FileSystem.h"
#include "io/Logger.h"
#include "io/Output.h"
#include "objects/Exceptions.h"
#include "objects/containers/ArrayRef.h"
#include "objects/utility/StringUtils.h"
#include "physics/Functions.h"
#include "post/Analysis.h"
#include "post/StatisticTests.h"
#include "quantities/Quantity.h"
#include "quantities/Storage.h"
#include "sph/initial/Initial.h"
#include "system/Factory.h"
#include "system/Process.h"
#include "system/Statistics.h"
#include "thread/Pool.h"
#include <fstream>
#include <iostream>
#include <mutex>

Go to the source code of this file.

Classes

struct  HarrisAsteroid
 
struct  FamilyAsteroid
 

Functions

int pkdgravToSfd (const Path &filePath, const Path &sfdPath)
 
int pkdgravToOmega (const Path &filePath, const Path &omegaPath)
 
int pkdgravToMoons (const Path &filePath, const Float limit)
 
int ssfToSfd (const Post::HistogramSource source, const Path &filePath, const Path &sfdPath)
 
int ssfToOmega (const Path &filePath, const Path &omegaPath, const Path &omegaDPath, const Path &omegaDirPath)
 
int ssfToVelocity (const Path &filePath, const Path &outPath)
 
void ssfToVelDir (const Path &filePath, const Path &outPath)
 
void processHarrisFile ()
 
void makeSwift (const Path &filePath)
 
void origComponents (const Path &lastDumpPath, const Path &firstDumpPath, const Path &colorizedDumpPath)
 
void extractLr (const Path &inputPath, const Path &outputPath)
 
void printHelp ()
 
int main (int argc, char **argv)
 

Function Documentation

◆ extractLr()

void extractLr ( const Path inputPath,
const Path outputPath 
)

Definition at line 683 of file main.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 767 of file main.cpp.

◆ makeSwift()

void makeSwift ( const Path filePath)

Definition at line 589 of file main.cpp.

◆ origComponents()

void origComponents ( const Path lastDumpPath,
const Path firstDumpPath,
const Path colorizedDumpPath 
)

Definition at line 659 of file main.cpp.

◆ pkdgravToMoons()

int pkdgravToMoons ( const Path filePath,
const Float  limit 
)
Todo:
use correct radius here, we assume that very close ecounters will eventually collide

Definition at line 86 of file main.cpp.

◆ pkdgravToOmega()

int pkdgravToOmega ( const Path filePath,
const Path omegaPath 
)

Definition at line 57 of file main.cpp.

◆ pkdgravToSfd()

int pkdgravToSfd ( const Path filePath,
const Path sfdPath 
)

Definition at line 40 of file main.cpp.

◆ printHelp()

void printHelp ( )

Definition at line 751 of file main.cpp.

◆ processHarrisFile()

void processHarrisFile ( )

Definition at line 473 of file main.cpp.

◆ ssfToOmega()

int ssfToOmega ( const Path filePath,
const Path omegaPath,
const Path omegaDPath,
const Path omegaDirPath 
)

ArrayView<const Float> rho = storage.getValue<Float>(QuantityId::DENSITY);

Definition at line 121 of file main.cpp.

◆ ssfToSfd()

int ssfToSfd ( const Post::HistogramSource  source,
const Path filePath,
const Path sfdPath 
)

Definition at line 100 of file main.cpp.

◆ ssfToVelDir()

void ssfToVelDir ( const Path filePath,
const Path outPath 
)

Definition at line 232 of file main.cpp.

◆ ssfToVelocity()

int ssfToVelocity ( const Path filePath,
const Path outPath 
)

Definition at line 187 of file main.cpp.