5#ifndef OILAB_DISLOCATIONDIPOLE_H
6#define OILAB_DISLOCATIONDIPOLE_H
15 template <
typename T>
int sgn(T val)
const
17 return (T(0) < val) - (val < T(0));
30 const Vector2d& shift_in,
const int& nImages_in);
double solidAngle(const Vector2d &x, const int &branch) const
static std::pair< Vector2d, double > localPosition(const Vector2d &A, const Vector2d &B, const Vector2d &x)
DislocationDipole(const Matrix2d &end_in, const Vector2d &b_in, const Vector2d &shift_in, const int &nImages_in)
Vector2d displacement(const Vector2d &x, const int &branch) const
Vector2d solidAngleGradient(const Vector2d &x, const int &branch) const