Dipole.h
Go to the documentation of this file.
1 // This file is part of the MercuryDPM project (https://www.mercurydpm.org).
2 // Copyright (c), The MercuryDPM Developers Team. All rights reserved.
3 // License: BSD 3-Clause License; see the LICENSE file in the root directory.
4 
5 #ifndef DIPOLE_H_
6 #define DIPOLE_H_
7 
8 #include "Math/NumericalVector.h"
9 #include "Math/Vector.h"
10 #include "Multipole.h"
11 #include <complex>
12 #include <vector>
13 
14 class Dipole : public Multipole
15 {
16 public:
17  Dipole(int p, NumericalVector<>* squaredFactorials, Vec3D location, Vec3D velocity, Mdouble strength);
18 
19  void computeMultipoleExpansion() final;
20 
22  {
23  return location_;
24  }
25 
26 private:
29 };
30 
31 #endif /* DIPOLE_H_ */
float * p
Definition: Tutorial_Map_using.cpp:9
Definition: Dipole.h:15
Mdouble strength_
Definition: Dipole.h:28
Dipole(int p, NumericalVector<> *squaredFactorials, Vec3D location, Vec3D velocity, Mdouble strength)
Definition: Dipole.cc:12
Vec3D velocity_
Definition: Dipole.h:27
Vec3D getLocation()
Definition: Dipole.h:21
void computeMultipoleExpansion() final
Definition: Dipole.cc:19
Definition: Multipole.h:14
Vec3D location_
Definition: Multipole.h:53
Definition: NumericalVector.h:44
Definition: Kernel/Math/Vector.h:30
double velocity(const double &t)
Angular velocity as function of time t.
Definition: jeffery_orbit.cc:107