Rheolef
7.1
an efficient C++ finite element environment
|
point
d-dimensional physical point or vector
The point
defines a vertex or vector in the physical d-dimensional space, d=1,2,3. It is represented as an array of coordinates. The coordinate index starts at zero and finishes at d-1
, e.g. x[0]
, x[1]
and x[2]
.
The default constructor set all components to zero:
point x;
and this default could be overridden:
point x (1, 2, 3.14);
or alternatively:
point x = {1, 2, 3.14};
The standard linear algebra for vectors is supported by the point
class.
This documentation has been generated from file fem/geo_element/point.h
The point
class is simply an alias to the point_basic
class
The point_basic
class is a template class with the floating type as parameter:
These linear and nonlinear functions are completed by some usual functions: