#include <ParFUM_internals.h>
Public Member Functions | |
vector2d (void) | |
vector2d (const Real init) | |
vector2d (int init) | |
vector2d (const Real Nx, const Real Ny) | |
vector2d (const vector2d ©) | |
operator Real * () | |
operator const Real * () const | |
vector2d & | operator= (const vector2d &b) |
int | operator== (const vector2d &b) const |
int | operator!= (const vector2d &b) const |
vector2d | operator+ (const vector2d &b) const |
vector2d | operator- (const vector2d &b) const |
vector2d | operator* (const Real scale) const |
vector2d | operator/ (const Real &div) const |
vector2d | operator- (void) const |
void | operator+= (const vector2d &b) |
void | operator-= (const vector2d &b) |
void | operator*= (const Real scale) |
void | operator/= (const Real div) |
Real | magSqr (void) const |
Real | mag (void) const |
Real | distSqr (const vector2d &b) const |
Real | dist (const vector2d &b) const |
Real | dot (const vector2d &b) const |
Real | cosAng (const vector2d &b) const |
vector2d | dir (void) const |
vector2d | perp (void) const |
vector2d & | scale (const vector2d &b) |
Real | max (void) |
void | enlarge (const vector2d &by) |
vector2d (void) | |
vector2d (const real init) | |
vector2d (int init) | |
vector2d (const real Nx, const real Ny) | |
vector2d (const vector2d ©) | |
operator real * () | |
operator const real * () const | |
vector2d & | operator= (const vector2d &b) |
int | operator== (const vector2d &b) const |
int | operator!= (const vector2d &b) const |
vector2d | operator+ (const vector2d &b) const |
vector2d | operator- (const vector2d &b) const |
vector2d | operator* (const real scale) const |
vector2d | operator/ (const real &div) const |
vector2d | operator- (void) const |
void | operator+= (const vector2d &b) |
void | operator-= (const vector2d &b) |
void | operator*= (const real scale) |
void | operator/= (const real div) |
real | magSqr (void) const |
real | mag (void) const |
real | distSqr (const vector2d &b) const |
real | dist (const vector2d &b) const |
real | dot (const vector2d &b) const |
real | cosAng (const vector2d &b) const |
vector2d | dir (void) const |
vector2d | perp (void) const |
vector2d & | scale (const vector2d &b) |
real | max (void) |
void | enlarge (const vector2d &by) |
Data Fields | |
Real | x |
Real | y |
real | x |
real | y |
Friends | |
vector2d | operator* (const Real scale, const vector2d &v) |
vector2d | operator* (const real scale, const vector2d &v) |
Definition at line 2719 of file ParFUM_internals.h.
vector2d::vector2d | ( | void | ) | [inline] |
Definition at line 2722 of file ParFUM_internals.h.
Referenced by operator*(), operator+(), operator-(), operator/(), and perp().
vector2d::vector2d | ( | const Real | init | ) | [inline, explicit] |
vector2d::vector2d | ( | int | init | ) | [inline, explicit] |
vector2d::vector2d | ( | const vector2d & | copy | ) | [inline] |
vector2d::vector2d | ( | void | ) | [inline] |
Definition at line 28 of file vector2d.h.
vector2d::vector2d | ( | const real | init | ) | [inline, explicit] |
vector2d::vector2d | ( | int | init | ) | [inline, explicit] |
vector2d::vector2d | ( | const vector2d & | copy | ) | [inline] |
vector2d::operator Real * | ( | ) | [inline] |
vector2d::operator const Real * | ( | ) | const [inline] |
vector2d vector2d::operator- | ( | void | ) | const [inline] |
void vector2d::operator+= | ( | const vector2d & | b | ) | [inline] |
void vector2d::operator-= | ( | const vector2d & | b | ) | [inline] |
void vector2d::operator*= | ( | const Real | scale | ) | [inline] |
void vector2d::operator/= | ( | const Real | div | ) | [inline] |
Real vector2d::magSqr | ( | void | ) | const [inline] |
Definition at line 2762 of file ParFUM_internals.h.
References x.
Referenced by mag().
Real vector2d::mag | ( | void | ) | const [inline] |
Definition at line 2764 of file ParFUM_internals.h.
Referenced by cosAng(), and dir().
Definition at line 2770 of file ParFUM_internals.h.
vector2d vector2d::dir | ( | void | ) | const [inline] |
Definition at line 2778 of file ParFUM_internals.h.
vector2d vector2d::perp | ( | void | ) | const [inline] |
Definition at line 2784 of file ParFUM_internals.h.
Referenced by operator/(), and operator/=().
Real vector2d::max | ( | void | ) | [inline] |
void vector2d::enlarge | ( | const vector2d & | by | ) | [inline] |
vector2d::operator real * | ( | ) | [inline] |
vector2d::operator const real * | ( | ) | const [inline] |
Definition at line 52 of file vector2d.h.
References vector2d(), x, and y.
Definition at line 53 of file vector2d.h.
References vector2d(), x, and y.
Definition at line 54 of file vector2d.h.
References vector2d(), x, and y.
Definition at line 58 of file vector2d.h.
References scale(), vector2d(), x, and y.
vector2d vector2d::operator- | ( | void | ) | const [inline] |
Definition at line 60 of file vector2d.h.
References vector2d(), x, and y.
void vector2d::operator+= | ( | const vector2d & | b | ) | [inline] |
void vector2d::operator-= | ( | const vector2d & | b | ) | [inline] |
void vector2d::operator*= | ( | const real | scale | ) | [inline] |
void vector2d::operator/= | ( | const real | div | ) | [inline] |
real vector2d::magSqr | ( | void | ) | const [inline] |
real vector2d::mag | ( | void | ) | const [inline] |
Definition at line 70 of file vector2d.h.
References magSqr().
Definition at line 76 of file vector2d.h.
References distSqr().
vector2d vector2d::dir | ( | void | ) | const [inline] |
Definition at line 84 of file vector2d.h.
References mag().
vector2d vector2d::perp | ( | void | ) | const [inline] |
Definition at line 87 of file vector2d.h.
References vector2d(), x, and y.
real vector2d::max | ( | void | ) | [inline] |
void vector2d::enlarge | ( | const vector2d & | by | ) | [inline] |
Definition at line 2750 of file ParFUM_internals.h.
Definition at line 56 of file vector2d.h.
Definition at line 2721 of file ParFUM_internals.h.
Referenced by advanceNodes(), calcArea(), CST_NL(), distSqr(), dot(), enlarge(), FEM_Adapt_Algs::FEM_mesh_smooth(), magSqr(), max(), operator const real *(), operator real *(), operator!=(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator==(), perp(), repeat_after_split(), resize_nodes(), scale(), and vector2d().
Definition at line 2721 of file ParFUM_internals.h.
Referenced by advanceNodes(), calcArea(), CST_NL(), distSqr(), dot(), enlarge(), FEM_Adapt_Algs::FEM_mesh_smooth(), init(), magSqr(), max(), operator!=(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator==(), perp(), repeat_after_split(), resize_nodes(), scale(), and vector2d().
Definition at line 27 of file vector2d.h.
Definition at line 27 of file vector2d.h.