| 
    libMesh
    
   | 
 
A Point defines a location in LIBMESH_DIM dimensional Real space.  
 More...
#include <point.h>
Public Types | |
| typedef Real | value_type | 
| Helper typedef for C++98 generic programming.  More... | |
| typedef unsigned int | index_type | 
| Helper typedef for generic index programming.  More... | |
Public Member Functions | |
| Point (const Real x=0., const Real y=0., const Real z=0.) | |
| Constructor.  More... | |
| Point (const Point &p) | |
| Copy-constructor.  More... | |
| Point (const TypeVector< Real > &p) | |
| Copy-constructor.  More... | |
| Point & | operator= (const Point &p)=default | 
| Copy-assignment operator.  More... | |
| template<typename T , typename = typename boostcopy::enable_if_c<ScalarTraits<T>::value,void>::type> | |
| Point (const T x) | |
| Disambiguate constructing from non-Real scalars.  More... | |
| ~Point () | |
| Empty.  More... | |
| void | assign (const TypeVector< T2 > &) | 
| Assign to this vector without creating a temporary.  More... | |
| const Real & | operator() (const unsigned int i) const | 
| Real & | operator() (const unsigned int i) | 
| const Real & | slice (const unsigned int i) const | 
| Real & | slice (const unsigned int i) | 
| TypeVector< typename CompareTypes< Real, T2 >::supertype > | operator+ (const TypeVector< T2 > &) const | 
| Add two vectors.  More... | |
| const TypeVector< Real > & | operator+= (const TypeVector< T2 > &) | 
| Add to this vector.  More... | |
| void | add (const TypeVector< T2 > &) | 
| Add to this vector without creating a temporary.  More... | |
| void | add_scaled (const TypeVector< T2 > &, const Real &) | 
| Add a scaled value to this vector without creating a temporary.  More... | |
| TypeVector< typename CompareTypes< Real, T2 >::supertype > | operator- (const TypeVector< T2 > &) const | 
| Subtract from this vector.  More... | |
| TypeVector< Real > | operator- () const | 
| const TypeVector< Real > & | operator-= (const TypeVector< T2 > &) | 
| Subtract from this vector.  More... | |
| void | subtract (const TypeVector< T2 > &) | 
| Subtract from this vector without creating a temporary.  More... | |
| void | subtract_scaled (const TypeVector< T2 > &, const Real &) | 
| Subtract a scaled value from this vector without creating a temporary.  More... | |
| boostcopy::enable_if_c< ScalarTraits< Scalar >::value, TypeVector< typename CompareTypes< Real, Scalar >::supertype > >::type | operator* (const Scalar &) const | 
| Multiply this vector by a scalar value.  More... | |
| CompareTypes< Real, T2 >::supertype | operator* (const TypeVector< T2 > &) const | 
| const TypeVector< Real > & | operator*= (const Real &) | 
| Multiply this vector by a scalar value.  More... | |
| boostcopy::enable_if_c< ScalarTraits< Scalar >::value, TypeVector< typename CompareTypes< Real, Scalar >::supertype > >::type | operator/ (const Scalar &) const | 
| Divide each entry of this vector by scalar value.  More... | |
| const TypeVector< Real > & | operator/= (const Real &) | 
| Divide each entry of this vector by scalar value.  More... | |
| CompareTypes< Real, T2 >::supertype | contract (const TypeVector< T2 > &) const | 
| TypeVector< typename CompareTypes< Real, T2 >::supertype > | cross (const TypeVector< T2 > &v) const | 
| TypeVector< Real > | unit () const | 
| auto | size () const -> decltype(std::norm(Real())) | 
| auto | norm () const -> decltype(std::norm(Real())) | 
| auto | size_sq () const -> decltype(std::norm(Real())) | 
| auto | norm_sq () const -> decltype(std::norm(Real())) | 
| bool | is_zero () const | 
| void | zero () | 
| Set all entries of the vector to 0.  More... | |
| bool | relative_fuzzy_equals (const TypeVector< Real > &rhs, Real tol=TOLERANCE) const | 
| bool | absolute_fuzzy_equals (const TypeVector< Real > &rhs, Real tol=TOLERANCE) const | 
| bool | operator== (const TypeVector< Real > &rhs) const | 
| bool | operator!= (const TypeVector< Real > &rhs) const | 
| bool | operator< (const TypeVector< Real > &rhs) const | 
| bool | operator< (const TypeVector< Complex > &rhs) const | 
| bool | operator<= (const TypeVector< Real > &rhs) const | 
| bool | operator<= (const TypeVector< Complex > &rhs) const | 
| bool | operator> (const TypeVector< Real > &rhs) const | 
| bool | operator> (const TypeVector< Complex > &rhs) const | 
| bool | operator>= (const TypeVector< Real > &rhs) const | 
| bool | operator>= (const TypeVector< Complex > &rhs) const | 
| void | print (std::ostream &os=libMesh::out) const | 
Formatted print, by default to libMesh::out.  More... | |
| void | write_unformatted (std::ostream &out, const bool newline=true) const | 
Unformatted print to the stream out.  More... | |
Protected Attributes | |
| Real | _coords [LIBMESH_DIM] | 
The coordinates of the TypeVector.  More... | |
Friends | |
| class | Node | 
| Make the derived class a friend.  More... | |
A Point defines a location in LIBMESH_DIM dimensional Real space. 
Points are always real-valued, even if the library is configured with –enable-complex.
A geometric point in (x,y,z) space.
      
  | 
  inherited | 
Helper typedef for generic index programming.
Definition at line 141 of file type_vector.h.
      
  | 
  inherited | 
Helper typedef for C++98 generic programming.
Definition at line 136 of file type_vector.h.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inlineinherited | 
true if two vectors are equal to within an absolute tolerance of tol. Definition at line 1017 of file type_vector.h.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Add a scaled value to this vector without creating a temporary.
Definition at line 665 of file type_vector.h.
      
  | 
  inlineinherited | 
Assign to this vector without creating a temporary.
Definition at line 570 of file type_vector.h.
      
  | 
  inlineinherited | 
Definition at line 910 of file type_vector.h.
      
  | 
  inherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Definition at line 955 of file type_vector.h.
      
  | 
  inlineinherited | 
Definition at line 986 of file type_vector.h.
      
  | 
  inlineinherited | 
Definition at line 1089 of file type_vector.h.
      
  | 
  inlineinherited | 
Definition at line 591 of file type_vector.h.
      
  | 
  inlineinherited | 
Definition at line 580 of file type_vector.h.
      
  | 
  inlineinherited | 
Multiply this vector by a scalar value.
Definition at line 777 of file type_vector.h.
      
  | 
  inlineinherited | 
Definition at line 888 of file type_vector.h.
      
  | 
  inlineinherited | 
Multiply this vector by a scalar value.
Definition at line 814 of file type_vector.h.
      
  | 
  inlineinherited | 
Add two vectors.
Definition at line 604 of file type_vector.h.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Definition at line 749 of file type_vector.h.
      
  | 
  inlineinherited | 
Subtract from this vector.
Definition at line 690 of file type_vector.h.
      
  | 
  inlineinherited | 
Subtract from this vector.
Definition at line 716 of file type_vector.h.
      
  | 
  inlineinherited | 
Divide each entry of this vector by scalar value.
Definition at line 842 of file type_vector.h.
      
  | 
  inlineinherited | 
Divide each entry of this vector by scalar value.
Definition at line 871 of file type_vector.h.
      
  | 
  inherited | 
Definition at line 140 of file type_vector.C.
      
  | 
  inherited | 
true if this vector is "less" than rhs.Useful for sorting. Also used for choosing some arbitrary basis function orientations.
Definition at line 82 of file type_vector.C.
      
  | 
  inherited | 
Definition at line 159 of file type_vector.C.
      
  | 
  inherited | 
true if this vector is <= to rhs.Useful for sorting. Also used for choosing some arbitrary constraint equation directions.
Definition at line 96 of file type_vector.C.
      
  | 
  inlineinherited | 
true if this(i)==rhs(i) for each component of the vector.absolute_fuzzy_equals() may be a more appropriate choice. Definition at line 1067 of file type_vector.h.
      
  | 
  inherited | 
Definition at line 178 of file type_vector.C.
      
  | 
  inherited | 
true if this vector is "greater" than rhs.Useful for sorting. Also used for choosing some arbitrary basis function orientations.
Definition at line 111 of file type_vector.C.
      
  | 
  inherited | 
Definition at line 197 of file type_vector.C.
      
  | 
  inherited | 
true if this vector is >= rhs.Useful for sorting. Also used for choosing some arbitrary constraint equation directions.
Definition at line 125 of file type_vector.C.
      
  | 
  inherited | 
      
  | 
  inlineinherited | 
true if two vectors are equal to within a relative tolerance of tol. Definition at line 1042 of file type_vector.h.
      
  | 
  inlineinherited | 
Definition at line 944 of file type_vector.h.
      
  | 
  inlineinherited | 
Definition at line 975 of file type_vector.h.
      
  | 
  inlineinherited | 
Definition at line 180 of file type_vector.h.
      
  | 
  inlineinherited | 
Definition at line 174 of file type_vector.h.
      
  | 
  inlineinherited | 
Subtract from this vector without creating a temporary.
Definition at line 728 of file type_vector.h.
      
  | 
  inlineinherited | 
Subtract a scaled value from this vector without creating a temporary.
Definition at line 739 of file type_vector.h.
      
  | 
  inlineinherited | 
      
  | 
  inherited | 
Unformatted print to the stream out. 
Simply prints the elements of the vector separated by spaces. Also prints a newline by default, however, this behavior can be controlled with the newline parameter. 
Definition at line 65 of file type_vector.C.
      
  | 
  inlineinherited | 
Set all entries of the vector to 0.
Definition at line 964 of file type_vector.h.
      
  | 
  protectedinherited | 
The coordinates of the TypeVector. 
Definition at line 445 of file type_vector.h.
 1.8.16