PeTar
N-body code for collisional gravitational systems
PotentialSet Struct Reference

set of Galpy potentials sharing the same position and velocity of the origin More...

#include <galpy_interface.h>

Public Member Functions

 PotentialSet ()
 
void generatePotentialArgs (const int _npot, int *_type, double *_arg)
 generate Galpy potential arguments More...
 
void clear ()
 
 ~PotentialSet ()
 

Public Attributes

int npot
 
struct potentialArg * arguments
 

Detailed Description

set of Galpy potentials sharing the same position and velocity of the origin

Constructor & Destructor Documentation

◆ PotentialSet()

PotentialSet::PotentialSet ( )
inline

◆ ~PotentialSet()

PotentialSet::~PotentialSet ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ clear()

void PotentialSet::clear ( )
inline
Here is the caller graph for this function:

◆ generatePotentialArgs()

void PotentialSet::generatePotentialArgs ( const int  _npot,
int *  _type,
double *  _arg 
)
inline

generate Galpy potential arguments

Parameters
[in]_npotnumber of potential types
[in]_typethe array of type indices
[in]_argthe array of arguments for each type

Member Data Documentation

◆ arguments

struct potentialArg* PotentialSet::arguments

◆ npot

int PotentialSet::npot

The documentation for this struct was generated from the following file: