Neko
0.9.0
A portable framework for high-order spectral element flow simulations
|
Implements a point.
Data Types | |
interface | point_t |
A point in \( \mathbb{R}^d \) with coordinates \( (x,y,z)\). More... | |
type | point_ptr |
Defines a pointer to a point type. More... | |
Functions/Subroutines | |
type(point_t) function | point_init (x, id) |
Initialize a point from an array x of \( (x,y,z) \) coordinates. More... | |
type(point_t) function | point_init_xyz (x, y, z, id) |
Initialize a point from \( (x,y,z) \) coordinates. More... | |
subroutine | point_assign (this, x) |
Assigns coordinates x to a point. More... | |
pure logical function | point_eq (p1, p2) |
Check if \( p_{1} = p_{2} \). More... | |
pure logical function | point_ne (p1, p2) |
Check if \( p_{1} \neq p_{2} \). More... | |
pure logical function | point_lt (p1, p2) |
Check if \( p_{1} < p_{2} \). More... | |
pure logical function | point_gt (p1, p2) |
Check if \( p_{1} > p_{2} \). More... | |
type(point_t) function | point_add (p1, p2) |
Returns the addition of 2 points \( p_{1} + p_{2} \). More... | |
type(point_t) function | point_subtract (p1, p2) |
Returns the subtraction of 2 points \( p_{1} - p_{2} \). More... | |
type(point_t) function | point_scalar_mult (p, a) |
Returns the multiplication of a point by a scalar \( a*p_{1} \). More... | |
pure real(kind=rp) function | point_euclid_dist (p1, p2) |
Returns the Euclidean distance between two points \( \mid p_1 - p_2 \mid \). More... | |
type(point_t) function | point_mat_mult (A, x) |
Computes matrix-vector product in \( \mathbb{R}^3 \): \( b = Ax \). More... | |