PPL Logo

vector2d Class Reference
[ParFUM Unstructured Mesh Framework]

#include <ParFUM_internals.h>

Collaboration diagram for vector2d:

Collaboration graph
[legend]

Public Member Functions

 vector2d (void)
 vector2d (const Real init)
 vector2d (int init)
 vector2d (const Real Nx, const Real Ny)
 vector2d (const vector2d &copy)
 operator Real * ()
 operator const Real * () const
vector2doperator= (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
vector2dscale (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 &copy)
 operator real * ()
 operator const real * () const
vector2doperator= (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
vector2dscale (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)

Detailed Description

Definition at line 2719 of file ParFUM_internals.h.


Constructor & Destructor Documentation

vector2d::vector2d ( void   )  [inline]

Definition at line 2722 of file ParFUM_internals.h.

Referenced by operator*(), operator+(), operator-(), operator/(), and perp().

Here is the caller graph for this function:

vector2d::vector2d ( const Real  init  )  [inline, explicit]

Definition at line 2724 of file ParFUM_internals.h.

References x.

vector2d::vector2d ( int  init  )  [inline, explicit]

Definition at line 2726 of file ParFUM_internals.h.

References x.

vector2d::vector2d ( const Real  Nx,
const Real  Ny 
) [inline]

Definition at line 2728 of file ParFUM_internals.h.

References x.

vector2d::vector2d ( const vector2d copy  )  [inline]

Definition at line 2730 of file ParFUM_internals.h.

References x, x, and y.

vector2d::vector2d ( void   )  [inline]

Definition at line 28 of file vector2d.h.

vector2d::vector2d ( const real  init  )  [inline, explicit]

Definition at line 30 of file vector2d.h.

References x, and y.

vector2d::vector2d ( int  init  )  [inline, explicit]

Definition at line 32 of file vector2d.h.

References x, and y.

vector2d::vector2d ( const real  Nx,
const real  Ny 
) [inline]

Definition at line 34 of file vector2d.h.

References x, and y.

vector2d::vector2d ( const vector2d copy  )  [inline]

Definition at line 36 of file vector2d.h.

References x, and y.


Member Function Documentation

vector2d::operator Real * (  )  [inline]

Definition at line 2733 of file ParFUM_internals.h.

References x.

vector2d::operator const Real * (  )  const [inline]

Definition at line 2734 of file ParFUM_internals.h.

References x.

vector2d& vector2d::operator= ( const vector2d b  )  [inline]

Definition at line 2743 of file ParFUM_internals.h.

References x, x, and y.

int vector2d::operator== ( const vector2d b  )  const [inline]

Definition at line 2744 of file ParFUM_internals.h.

References x, x, and y.

int vector2d::operator!= ( const vector2d b  )  const [inline]

Definition at line 2745 of file ParFUM_internals.h.

References x, x, and y.

vector2d vector2d::operator+ ( const vector2d b  )  const [inline]

Definition at line 2746 of file ParFUM_internals.h.

References x, x, and y.

vector2d vector2d::operator- ( const vector2d b  )  const [inline]

Definition at line 2747 of file ParFUM_internals.h.

References x, x, and y.

vector2d vector2d::operator* ( const Real  scale  )  const [inline]

Definition at line 2748 of file ParFUM_internals.h.

References x.

vector2d vector2d::operator/ ( const Real div  )  const [inline]

Definition at line 2752 of file ParFUM_internals.h.

References x.

vector2d vector2d::operator- ( void   )  const [inline]

Definition at line 2754 of file ParFUM_internals.h.

References x.

void vector2d::operator+= ( const vector2d b  )  [inline]

Definition at line 2755 of file ParFUM_internals.h.

References x, x, and y.

void vector2d::operator-= ( const vector2d b  )  [inline]

Definition at line 2756 of file ParFUM_internals.h.

References x, x, and y.

void vector2d::operator*= ( const Real  scale  )  [inline]

Definition at line 2757 of file ParFUM_internals.h.

References x.

void vector2d::operator/= ( const Real  div  )  [inline]

Definition at line 2758 of file ParFUM_internals.h.

References x.

Real vector2d::magSqr ( void   )  const [inline]

Definition at line 2762 of file ParFUM_internals.h.

References x.

Referenced by mag().

Here is the caller graph for this function:

Real vector2d::mag ( void   )  const [inline]

Definition at line 2764 of file ParFUM_internals.h.

Referenced by cosAng(), and dir().

Here is the caller graph for this function:

Real vector2d::distSqr ( const vector2d b  )  const [inline]

Definition at line 2767 of file ParFUM_internals.h.

References x, x, and y.

Referenced by dist().

Here is the caller graph for this function:

Real vector2d::dist ( const vector2d b  )  const [inline]

Definition at line 2770 of file ParFUM_internals.h.

Real vector2d::dot ( const vector2d b  )  const [inline]

Definition at line 2773 of file ParFUM_internals.h.

References x, x, and y.

Referenced by cosAng().

Here is the caller graph for this function:

Real vector2d::cosAng ( const vector2d b  )  const [inline]

Definition at line 2775 of file ParFUM_internals.h.

References dot(), and mag().

Here is the call graph for this function:

vector2d vector2d::dir ( void   )  const [inline]

Definition at line 2778 of file ParFUM_internals.h.

vector2d vector2d::perp ( void   )  const [inline]

Definition at line 2781 of file ParFUM_internals.h.

References x.

vector2d& vector2d::scale ( const vector2d b  )  [inline]

Definition at line 2784 of file ParFUM_internals.h.

References x, x, and y.

Referenced by operator/(), and operator/=().

Here is the caller graph for this function:

Real vector2d::max ( void   )  [inline]

Definition at line 2787 of file ParFUM_internals.h.

References x.

void vector2d::enlarge ( const vector2d by  )  [inline]

Definition at line 2790 of file ParFUM_internals.h.

References x, x, and y.

vector2d::operator real * (  )  [inline]

Definition at line 39 of file vector2d.h.

References x.

vector2d::operator const real * (  )  const [inline]

Definition at line 40 of file vector2d.h.

References x.

vector2d& vector2d::operator= ( const vector2d b  )  [inline]

Definition at line 49 of file vector2d.h.

References x, and y.

int vector2d::operator== ( const vector2d b  )  const [inline]

Definition at line 50 of file vector2d.h.

References x, and y.

int vector2d::operator!= ( const vector2d b  )  const [inline]

Definition at line 51 of file vector2d.h.

References x, and y.

vector2d vector2d::operator+ ( const vector2d b  )  const [inline]

Definition at line 52 of file vector2d.h.

References vector2d(), x, and y.

Here is the call graph for this function:

vector2d vector2d::operator- ( const vector2d b  )  const [inline]

Definition at line 53 of file vector2d.h.

References vector2d(), x, and y.

Here is the call graph for this function:

vector2d vector2d::operator* ( const real  scale  )  const [inline]

Definition at line 54 of file vector2d.h.

References vector2d(), x, and y.

Here is the call graph for this function:

vector2d vector2d::operator/ ( const real div  )  const [inline]

Definition at line 58 of file vector2d.h.

References scale(), vector2d(), x, and y.

Here is the call graph for this function:

vector2d vector2d::operator- ( void   )  const [inline]

Definition at line 60 of file vector2d.h.

References vector2d(), x, and y.

Here is the call graph for this function:

void vector2d::operator+= ( const vector2d b  )  [inline]

Definition at line 61 of file vector2d.h.

References x, and y.

void vector2d::operator-= ( const vector2d b  )  [inline]

Definition at line 62 of file vector2d.h.

References x, and y.

void vector2d::operator*= ( const real  scale  )  [inline]

Definition at line 63 of file vector2d.h.

References x, and y.

void vector2d::operator/= ( const real  div  )  [inline]

Definition at line 64 of file vector2d.h.

References scale(), x, and y.

Here is the call graph for this function:

real vector2d::magSqr ( void   )  const [inline]

Definition at line 68 of file vector2d.h.

References x, and y.

real vector2d::mag ( void   )  const [inline]

Definition at line 70 of file vector2d.h.

References magSqr().

Here is the call graph for this function:

real vector2d::distSqr ( const vector2d b  )  const [inline]

Definition at line 73 of file vector2d.h.

References x, and y.

real vector2d::dist ( const vector2d b  )  const [inline]

Definition at line 76 of file vector2d.h.

References distSqr().

Here is the call graph for this function:

real vector2d::dot ( const vector2d b  )  const [inline]

Definition at line 79 of file vector2d.h.

References x, and y.

real vector2d::cosAng ( const vector2d b  )  const [inline]

Definition at line 81 of file vector2d.h.

References dot(), and mag().

Here is the call graph for this function:

vector2d vector2d::dir ( void   )  const [inline]

Definition at line 84 of file vector2d.h.

References mag().

Here is the call graph for this function:

vector2d vector2d::perp ( void   )  const [inline]

Definition at line 87 of file vector2d.h.

References vector2d(), x, and y.

Here is the call graph for this function:

vector2d& vector2d::scale ( const vector2d b  )  [inline]

Definition at line 90 of file vector2d.h.

References x, and y.

real vector2d::max ( void   )  [inline]

Definition at line 93 of file vector2d.h.

References x, and y.

void vector2d::enlarge ( const vector2d by  )  [inline]

Definition at line 96 of file vector2d.h.

References x, and y.


Friends And Related Function Documentation

vector2d operator* ( const Real  scale,
const vector2d v 
) [friend]

Definition at line 2750 of file ParFUM_internals.h.

vector2d operator* ( const real  scale,
const vector2d v 
) [friend]

Definition at line 56 of file vector2d.h.


Field Documentation

Definition at line 27 of file vector2d.h.

Definition at line 27 of file vector2d.h.


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:31:36 2020 for Charm++ by  doxygen 1.5.5