![]() |
KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
#include <divide_geometry.h>
Public Member Functions | |
Type Definitions | |
| KRATOS_CLASS_POINTER_DEFINITION (IndexedPoint) | |
| Pointer definition of IndexedPoint. More... | |
Life Cycle | |
| IndexedPoint () | |
| Empty constructor. More... | |
| IndexedPoint (const unsigned int Id) | |
| Auxiliar constructor. More... | |
| IndexedPoint (const array_1d< double, 3 > &rCoords, const unsigned int Id) | |
| Default constructor. More... | |
| ~IndexedPoint () | |
| Destructor. More... | |
Input and output | |
| std::string | Info () const override |
| Turn back information as a string. More... | |
| void | PrintInfo (std::ostream &rOStream) const override |
| Print information about this object. More... | |
| void | PrintData (std::ostream &rOStream) const override |
| Print object's data. More... | |
Public Member Functions inherited from Kratos::Point | |
| Point () | |
| Default constructor. More... | |
| Point (double NewX, double NewY=0, double NewZ=0) | |
| 3d constructor. More... | |
| Point (Point const &rOtherPoint) | |
| Point (CoordinatesArrayType const &rOtherCoordinates) | |
| template<class TVectorType > | |
| Point (vector_expression< TVectorType > const &rOtherCoordinates) | |
| Point (std::vector< double > const &rOtherCoordinates) | |
| virtual | ~Point () |
| Destructor. More... | |
| Point & | operator= (const Point &rOther) |
| Assignment operator. More... | |
| bool | operator== (const Point &rOther) const |
| double | SquaredDistance (const Point &rOtherPoint) const |
| This method computes the distance between this point and another one (squared) More... | |
| double | Distance (const Point &rOtherPoint) const |
| This method computes the distance between this point and another one. More... | |
| KRATOS_CLASS_POINTER_DEFINITION (Point) | |
| Pointer definition of Point. More... | |
| double | X () const |
| double | Y () const |
| double | Z () const |
| double & | X () |
| double & | Y () |
| double & | Z () |
| CoordinatesArrayType const & | Coordinates () const |
| CoordinatesArrayType & | Coordinates () |
Public Member Functions inherited from Kratos::array_1d< double, 3 > | |
| BOOST_UBLAS_INLINE | array_1d () |
| Default constructor. More... | |
| BOOST_UBLAS_INLINE | array_1d (size_type array_size) |
| BOOST_UBLAS_INLINE | array_1d (size_type array_size, value_type v) |
| BOOST_UBLAS_INLINE | array_1d (const std::initializer_list< value_type > &rInitList) |
| BOOST_UBLAS_INLINE | array_1d (size_type array_size, const array_type &rdata) |
| BOOST_UBLAS_INLINE | array_1d (const array_1d &v) |
| BOOST_UBLAS_INLINE | array_1d (const boost::numeric::ublas::vector_expression< AE > &ae) |
| BOOST_UBLAS_INLINE const_reference | operator() (size_type i) const |
| BOOST_UBLAS_INLINE reference | operator() (size_type i) |
| BOOST_UBLAS_INLINE const_reference | operator[] (size_type i) const |
| BOOST_UBLAS_INLINE reference | operator[] (size_type i) |
| BOOST_UBLAS_INLINE array_1d & | operator= (const array_1d &v) |
| BOOST_UBLAS_INLINE array_1d & | operator= (const boost::numeric::ublas::vector_expression< AE > &ae) |
| BOOST_UBLAS_INLINE array_1d & | operator+= (const boost::numeric::ublas::vector_expression< AE > &ae) |
| BOOST_UBLAS_INLINE array_1d & | operator-= (const boost::numeric::ublas::vector_expression< AE > &ae) |
| BOOST_UBLAS_INLINE array_1d & | operator/= (const AT &at) |
| BOOST_UBLAS_INLINE bool | operator== (const array_1d &v) const |
| Compares whether this array_1d is equal to the given array_1d. More... | |
| KRATOS_CLASS_POINTER_DEFINITION (array_1d) | |
| Pointer definition of array_1d. More... | |
| BOOST_UBLAS_INLINE const_iterator | find (size_type i) const |
| BOOST_UBLAS_INLINE iterator | find (size_type i) |
| BOOST_UBLAS_INLINE size_type | size () const |
| BOOST_UBLAS_INLINE array_1d & | minus_assign (const boost::numeric::ublas::vector_expression< AE > &ae) |
| BOOST_UBLAS_INLINE const array_type & | data () const |
| BOOST_UBLAS_INLINE array_type & | data () |
| BOOST_UBLAS_INLINE const_iterator | begin () const |
| BOOST_UBLAS_INLINE iterator | begin () |
| BOOST_UBLAS_INLINE const_iterator | end () const |
| BOOST_UBLAS_INLINE iterator | end () |
| BOOST_UBLAS_INLINE const_reverse_iterator | rbegin () const |
| BOOST_UBLAS_INLINE reverse_iterator | rbegin () |
| BOOST_UBLAS_INLINE const_reverse_iterator | rend () const |
| BOOST_UBLAS_INLINE reverse_iterator | rend () |
| BOOST_UBLAS_INLINE void | resize (size_type array_size, bool preserve=true) |
| BOOST_UBLAS_INLINE array_1d & | assign_temporary (array_1d &v) |
| BOOST_UBLAS_INLINE array_1d & | operator*= (const AT &at) |
| BOOST_UBLAS_INLINE array_1d & | plus_assign (const boost::numeric::ublas::vector_expression< AE > &ae) |
| BOOST_UBLAS_INLINE array_1d & | assign (const boost::numeric::ublas::vector_expression< AE > &ae) |
| BOOST_UBLAS_INLINE void | swap (array_1d &v) |
| BOOST_UBLAS_INLINE reference | insert_element (size_type i, const_reference t) |
| BOOST_UBLAS_INLINE void | erase_element (size_type i) |
| BOOST_UBLAS_INLINE void | clear () |
Public Member Functions inherited from Kratos::IndexedObject | |
| IndexedObject (IndexType NewId=0) | |
| Default constructor. More... | |
| virtual | ~IndexedObject () |
| Destructor. More... | |
| IndexedObject (IndexedObject const &rOther) | |
| Copy constructor. More... | |
| IndexedObject & | operator= (IndexedObject const &rOther) |
| Assignment operator. More... | |
| template<class TObjectType > | |
| IndexType | operator() (TObjectType const &rThisObject) const |
| IndexType | Id () const |
| IndexType | GetId () const |
| virtual void | SetId (IndexType NewId) |
| IndexType & | DepricatedIdAccess () |
| TODO: remove this function when removing data_file_io object. More... | |
| KRATOS_CLASS_POINTER_DEFINITION (IndexedObject) | |
| Pointer definition of IndexedObject. More... | |
Serialization | |
| class | Serializer |
Additional Inherited Members | |
Public Types inherited from Kratos::Point | |
| typedef array_1d< double, mDimension > | BaseType |
| typedef BaseType | CoordinatesArrayType |
| typedef std::size_t | SizeType |
| typedef std::size_t | IndexType |
Public Types inherited from Kratos::array_1d< double, 3 > | |
| typedef std::size_t | size_type |
| typedef std::ptrdiff_t | difference_type |
| typedef double | value_type |
| typedef boost::numeric::ublas::type_traits< double >::const_reference | const_reference |
| typedef double & | reference |
| typedef std::array< double, N > | array_type |
| typedef double * | pointer |
| typedef array_1d< double, N > | self_type |
| typedef const boost::numeric::ublas::vector_reference< const self_type > | const_closure_type |
| typedef boost::numeric::ublas::vector_reference< self_type > | closure_type |
| typedef self_type | vector_temporary_type |
| typedef boost::numeric::ublas::dense_tag | storage_category |
| typedef boost::numeric::ublas::reverse_iterator_base< const_iterator > | const_reverse_iterator |
| typedef boost::numeric::ublas::reverse_iterator_base< iterator > | reverse_iterator |
Public Types inherited from Kratos::IndexedObject | |
| typedef std::size_t | IndexType |
| The definition of the index type. More... | |
| typedef std::size_t | result_type |
| The definition of the result_type. More... | |
Static Public Member Functions inherited from Kratos::Point | |
| static constexpr IndexType | Dimension () |
| Kratos::IndexedPoint::IndexedPoint | ( | ) |
Empty constructor.
IndexedPoint class implementation Constructors
|
explicit |
Auxiliar constructor.
Default constructor.
| Kratos::IndexedPoint::~IndexedPoint | ( | ) |
Destructor.
|
overridevirtual |
Turn back information as a string.
Reimplemented from Kratos::Point.
| Kratos::IndexedPoint::KRATOS_CLASS_POINTER_DEFINITION | ( | IndexedPoint | ) |
Pointer definition of IndexedPoint.
|
overridevirtual |
Print object's data.
Reimplemented from Kratos::Point.
|
overridevirtual |
Print information about this object.
Reimplemented from Kratos::Point.
|
friend |