Cartesius Library
points::point Type Reference

Contains the coordinates of a point relative to the local affine frame. More...

Public Member Functions

procedure, pass get_node => get_point_node
 
procedure, pass add_child => add_child_point
 

Public Attributes

character(len=max_char) id
 Any point should be identifiable, because it's necessary for subSpace tree. More...
 
character(len=20) system = key_cartesian
 Coordinate system may be cartesian, cylindrical, or spherical. More...
 
real, dimension(1:3) r
 Three-dimensional coordinates. Semantics depend on the 'system' field. More...
 
real, dimension(:,:), allocatable o
 Basis matrix of the cartesian orthonormal affine frame attached to the present point. May exist or may not. More...
 
type(node), pointer spacetree => NULL()
 Pointer to the tree of coordinate systems to which this point belongs. If point is the part of some tree, this pointer should be attached for correct work of 'reduce' function. More...
 
type(node), pointer node => NULL()
 

Detailed Description

Contains the coordinates of a point relative to the local affine frame.

Member Function/Subroutine Documentation

◆ add_child()

procedure, pass points::point::add_child

◆ get_node()

procedure, pass points::point::get_node

Member Data Documentation

◆ id

character(len=max_char) points::point::id

Any point should be identifiable, because it's necessary for subSpace tree.

Todo:
Make ID allocatable to remove lots of trim() functions.

◆ node

type(node), pointer points::point::node => NULL()

◆ o

real, dimension(:,:), allocatable points::point::o

Basis matrix of the cartesian orthonormal affine frame attached to the present point. May exist or may not.

◆ r

real, dimension(1:3) points::point::r

Three-dimensional coordinates. Semantics depend on the 'system' field.

◆ spacetree

type(node), pointer points::point::spacetree => NULL()

Pointer to the tree of coordinate systems to which this point belongs. If point is the part of some tree, this pointer should be attached for correct work of 'reduce' function.

Todo:
The whole spaceTree concept is very confusing. It should be elaborated on.

◆ system

character(len=20) points::point::system = key_cartesian

Coordinate system may be cartesian, cylindrical, or spherical.


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