Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
point::point_t Interface Reference

A point in \( \mathbb{R}^d \) with coordinates \( (x,y,z)\). More...

Inheritance diagram for point::point_t:
Collaboration diagram for point::point_t:

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(xpoint_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(thisid (this)
 Return the index of an entity.
 
procedure, pass(thisset_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.
 

Detailed Description

Definition at line 43 of file point.f90.

Member Function/Subroutine Documentation

◆ assignment()

generic point::point_t::assignment ( class(point_t), intent(inout this,
real(kind=dp), dimension(3), intent(in x 
)

Definition at line 60 of file point.f90.

Here is the call graph for this function:

◆ dist()

procedure, pass(p1) point::point_t::dist ( class(point_t), intent(in p1,
type(point_t), intent(in p2 
)

Definition at line 54 of file point.f90.

◆ id()

procedure, pass(this) entity::entity_t::id ( class(entity_t), intent(in this)
inherited

Definition at line 41 of file entity.f90.

◆ operator() [1/8]

generic point::point_t::operator ( real(kind=rp), dimension(3,3), intent(in a,
class(point_t), intent(in x 
)

Definition at line 63 of file point.f90.

◆ operator() [2/8]

generic point::point_t::operator ( class(point_t), intent(in p,
real(kind=rp), intent(in a 
)

Definition at line 63 of file point.f90.

Here is the call graph for this function:

◆ operator() [3/8]

generic point::point_t::operator ( class(point_t), intent(in p1,
class(point_t), intent(in p2 
)
Note
this only checks coordinates.

Definition at line 56 of file point.f90.

Here is the call graph for this function:

◆ operator() [4/8]

generic point::point_t::operator ( class(point_t), intent(in p1,
class(point_t), intent(in p2 
)
Note
this only checks coordinates.

Definition at line 57 of file point.f90.

Here is the call graph for this function:

◆ operator() [5/8]

generic point::point_t::operator ( class(point_t), intent(in p1,
class(point_t), intent(in p2 
)
Note
this only checks coordinates.

Definition at line 58 of file point.f90.

Here is the call graph for this function:

◆ operator() [6/8]

generic point::point_t::operator ( class(point_t), intent(in p1,
class(point_t), intent(in p2 
)
Note
this only checks coordinates.

Definition at line 59 of file point.f90.

Here is the call graph for this function:

◆ operator() [7/8]

generic point::point_t::operator ( class(point_t), intent(in p1,
class(point_t), intent(in p2 
)

Definition at line 61 of file point.f90.

Here is the call graph for this function:

◆ operator() [8/8]

generic point::point_t::operator ( class(point_t), intent(in p1,
class(point_t), intent(in p2 
)

Definition at line 62 of file point.f90.

Here is the call graph for this function:

◆ point_add()

procedure point::point_t::point_add ( class(point_t), intent(in p1,
class(point_t), intent(in p2 
)

Definition at line 51 of file point.f90.

◆ point_assign()

procedure point::point_t::point_assign ( class(point_t), intent(inout this,
real(kind=dp), dimension(3), intent(in x 
)

Definition at line 50 of file point.f90.

◆ point_eq()

procedure point::point_t::point_eq ( class(point_t), intent(in p1,
class(point_t), intent(in p2 
)
Note
this only checks coordinates.

Definition at line 46 of file point.f90.

◆ point_gt()

procedure point::point_t::point_gt ( class(point_t), intent(in p1,
class(point_t), intent(in p2 
)
Note
this only checks coordinates.

Definition at line 49 of file point.f90.

◆ point_init()

type(point_t) function point::point_t::point_init ( real(kind=dp), dimension(3), intent(in x,
integer, intent(inout), optional  id 
)

Definition at line 78 of file point.f90.

◆ point_init_xyz()

type(point_t) function point::point_t::point_init_xyz ( real(kind=dp), intent(in x,
real(kind=dp), intent(in y,
real(kind=dp), intent(in z,
integer, intent(inout), optional  id 
)

Definition at line 94 of file point.f90.

◆ point_lt()

procedure point::point_t::point_lt ( class(point_t), intent(in p1,
class(point_t), intent(in p2 
)
Note
this only checks coordinates.

Definition at line 48 of file point.f90.

◆ point_mat_mult()

procedure, pass(x) point::point_t::point_mat_mult ( real(kind=rp), dimension(3,3), intent(in a,
class(point_t), intent(in x 
)

Definition at line 55 of file point.f90.

◆ point_ne()

procedure point::point_t::point_ne ( class(point_t), intent(in p1,
class(point_t), intent(in p2 
)
Note
this only checks coordinates.

Definition at line 47 of file point.f90.

◆ point_scalar_mult()

procedure point::point_t::point_scalar_mult ( class(point_t), intent(in p,
real(kind=rp), intent(in a 
)

Definition at line 53 of file point.f90.

◆ point_subtract()

procedure point::point_t::point_subtract ( class(point_t), intent(in p1,
class(point_t), intent(in p2 
)

Definition at line 52 of file point.f90.

◆ set_id()

procedure, pass(this) entity::entity_t::set_id ( class(entity_t), intent(inout this,
integer, intent(in id 
)
inherited

Definition at line 42 of file entity.f90.

Member Data Documentation

◆ id_

integer, private entity::entity_t::id_ = -1
privateinherited

Definition at line 39 of file entity.f90.

◆ x

real(kind=dp), dimension(3) point::point_t::x

Definition at line 44 of file point.f90.


The documentation for this interface was generated from the following file: