Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
A point in \( \mathbb{R}^d \) with coordinates \( (x,y,z)\). More...
Public Member Functions | |
procedure | point_eq (p1, p2) |
Check if \( p_{1} = p_{2} \). | |
procedure | point_ne (p1, p2) |
Check if \( p_{1} \neq p_{2} \). | |
procedure | point_lt (p1, p2) |
Check if \( p_{1} < p_{2} \). | |
procedure | point_gt (p1, p2) |
Check if \( p_{1} > p_{2} \). | |
procedure | point_assign (this, x) |
Assigns coordinates x to a point. | |
procedure | point_add (p1, p2) |
Returns the addition of 2 points \( p_{1} + p_{2} \). | |
procedure | point_subtract (p1, p2) |
Returns the subtraction of 2 points \( p_{1} - p_{2} \). | |
procedure | point_scalar_mult (p, a) |
Returns the multiplication of a point by a scalar \( a*p_{1} \). | |
procedure, pass(p1) | dist (p1, p2) |
Returns the Euclidean distance between two points \( \mid p_1 - p_2 \mid \). | |
procedure, pass(x) | point_mat_mult (a, x) |
Computes matrix-vector product in \( \mathbb{R}^3 \): \( b = Ax \). | |
generic | operator (p1, p2) |
Check if \( p_{1} = p_{2} \). | |
generic | operator (p1, p2) |
Check if \( p_{1} \neq p_{2} \). | |
generic | operator (p1, p2) |
Check if \( p_{1} < p_{2} \). | |
generic | operator (p1, p2) |
Check if \( p_{1} > p_{2} \). | |
generic | assignment (this, x) |
Assigns coordinates x to a point. | |
generic | operator (p1, p2) |
Returns the addition of 2 points \( p_{1} + p_{2} \). | |
generic | operator (p1, p2) |
Returns the subtraction of 2 points \( p_{1} - p_{2} \). | |
generic | operator (p, a) |
Returns the multiplication of a point by a scalar \( a*p_{1} \). | |
generic | operator (a, x) |
Computes matrix-vector product in \( \mathbb{R}^3 \): \( b = Ax \). | |
type(point_t) function | point_init (x, id) |
Initialize a point from an array x of \( (x,y,z) \) coordinates. | |
type(point_t) function | point_init_xyz (x, y, z, id) |
Initialize a point from \( (x,y,z) \) coordinates. | |
procedure, pass(this) | id (this) |
Return the index of an entity. | |
procedure, pass(this) | set_id (this, id) |
Update the index of an entity. | |
Public Attributes | |
real(kind=dp), dimension(3) | x |
Private Attributes | |
integer, private | id_ = -1 |
Entity index. | |
Definition at line 41 of file entity.f90.
|
inherited |
Definition at line 42 of file entity.f90.
Definition at line 39 of file entity.f90.