|
#include <Multipole.h>
Public Member Functions | |
Multipole (int p, NumericalVector<> *squaredFactorials, Vec3D location) | |
virtual | ~Multipole () |
virtual void | computeMultipoleExpansion () |
NumericalVector< std::complex< Mdouble > > | TranslateMultipoleExpansionTo (Vec3D location) |
NumericalVector< std::complex< Mdouble > > | convertMultipoleToLocal (Vec3D location) |
void | addMultipoleCoefficients (NumericalVector< std::complex< Mdouble >> multipoleExpansionCoefficients) |
NumericalVector< std::complex< Mdouble > > | getExpansionCoefficients () |
void | setExpansionCoefficients (NumericalVector< std::complex< Mdouble >> multipoleExpansionCoefficients) |
NumericalVector * | getSquaredFactorials () |
int | getP () |
Protected Attributes | |
int | p_ |
NumericalVector * | squaredFactorials_ |
Vec3D | location_ |
NumericalVector< std::complex< Mdouble > > | multipoleExpansionCoefficients_ |
Multipole::Multipole | ( | int | p, |
NumericalVector<> * | squaredFactorials, | ||
Vec3D | location | ||
) |
|
virtualdefault |
MERCURYDPM_DEPRECATED void Multipole::addMultipoleCoefficients | ( | NumericalVector< std::complex< Mdouble >> | multipoleExpansionCoefficients | ) |
Adds multipole coefficients to an existing multipole
References ERROR, logger, and multipoleExpansionCoefficients_.
Referenced by Panel::computeMultipoleExpansion(), and Panel::translateMultipoleExpansion().
|
virtual |
Reimplemented in Dipole.
References multipoleExpansionCoefficients_, and p_.
Referenced by Panel::Panel().
NumericalVector< std::complex< Mdouble > > Multipole::convertMultipoleToLocal | ( | Vec3D | location | ) |
References mathsFunc::beta(), constants::i, multipoleExpansionCoefficients_, n, p_, sphericalHarmonics::sphericalHarmonics(), and squaredFactorials_.
|
inline |
References multipoleExpansionCoefficients_.
|
inline |
References squaredFactorials_.
|
inline |
References multipoleExpansionCoefficients_.
NumericalVector< std::complex< Mdouble > > Multipole::TranslateMultipoleExpansionTo | ( | Vec3D | location | ) |
References mathsFunc::beta(), ERROR, constants::i, logger, multipoleExpansionCoefficients_, n, p_, sphericalHarmonics::sphericalHarmonics(), and squaredFactorials_.
|
protected |
Referenced by Dipole::getLocation().
|
protected |
|
protected |
|
protected |
Referenced by convertMultipoleToLocal(), getSquaredFactorials(), and TranslateMultipoleExpansionTo().