Nektar++
|
#include <NekPoint.hpp>
Public Types | |
typedef data_type | DataType |
typedef ThreeD | dim |
Public Member Functions | |
NekPoint () | |
NekPoint (const std::string &pointValues) | |
NekPoint (typename boost::call_traits< DataType >::param_type x, typename boost::call_traits< DataType >::param_type y, typename boost::call_traits< DataType >::param_type z) | |
NekPoint (typename boost::call_traits< DataType >::const_reference a) | |
NekPoint (const NekPoint< DataType > &rhs) | |
~NekPoint () | |
NekPoint< DataType > & | operator= (const NekPoint< DataType > &rhs) |
boost::call_traits< DataType >::reference | operator() (unsigned int i) |
Returns i^{th} element. More... | |
boost::call_traits< DataType >::const_reference | operator() (unsigned int i) const |
boost::call_traits< DataType >::reference | operator[] (unsigned int i) |
boost::call_traits< DataType >::const_reference | operator[] (unsigned int i) const |
boost::call_traits< DataType >::const_reference | x () const |
boost::call_traits< DataType >::const_reference | y () const |
boost::call_traits< DataType >::const_reference | z () const |
boost::call_traits< DataType >::const_reference | a () const |
boost::call_traits< DataType >::const_reference | b () const |
boost::call_traits< DataType >::const_reference | c () const |
boost::call_traits< DataType >::const_reference | r () const |
boost::call_traits< DataType >::const_reference | s () const |
boost::call_traits< DataType >::const_reference | t () const |
void | SetX (typename boost::call_traits< DataType >::const_reference val) |
void | SetY (typename boost::call_traits< DataType >::const_reference val) |
void | SetZ (typename boost::call_traits< DataType >::const_reference val) |
boost::call_traits< DataType >::reference | x () |
boost::call_traits< DataType >::reference | y () |
boost::call_traits< DataType >::reference | z () |
const DataType * | GetPtr () const |
bool | operator== (const NekPoint< DataType > &rhs) const |
bool | operator!= (const NekPoint< DataType > &rhs) const |
void | negate () |
Arithmetic Routines. More... | |
NekPoint< DataType > | operator- () const |
NekPoint< DataType > & | operator+= (const NekPoint< DataType > &rhs) |
NekPoint< DataType > & | operator+= (typename boost::call_traits< DataType >::param_type rhs) |
NekPoint< DataType > & | operator-= (const NekPoint< DataType > &rhs) |
NekPoint< DataType > & | operator-= (typename boost::call_traits< DataType >::param_type rhs) |
NekPoint< DataType > & | operator*= (typename boost::call_traits< DataType >::param_type rhs) |
NekPoint< DataType > & | operator/= (typename boost::call_traits< DataType >::param_type rhs) |
std::string | AsString () const |
Static Public Member Functions | |
static unsigned int | dimension () |
Returns the number of dimensions for the point. More... | |
Private Attributes | |
DataType | m_data [dim::Value] |
Definition at line 53 of file NekPoint.hpp.
typedef data_type Nektar::NekPoint< data_type >::DataType |
Definition at line 56 of file NekPoint.hpp.
typedef ThreeD Nektar::NekPoint< data_type >::dim |
Definition at line 57 of file NekPoint.hpp.
|
inline |
Definition at line 60 of file NekPoint.hpp.
|
inline |
Definition at line 74 of file NekPoint.hpp.
|
inline |
Definition at line 80 of file NekPoint.hpp.
|
inlineexplicit |
Definition at line 89 of file NekPoint.hpp.
|
inline |
Definition at line 98 of file NekPoint.hpp.
|
inline |
Definition at line 106 of file NekPoint.hpp.
|
inline |
Definition at line 176 of file NekPoint.hpp.
Referenced by Nektar::NekPoint< NekDouble >::NekPoint().
|
inline |
Definition at line 346 of file NekPoint.hpp.
|
inline |
Definition at line 182 of file NekPoint.hpp.
|
inline |
Definition at line 188 of file NekPoint.hpp.
|
inlinestatic |
|
inline |
Definition at line 248 of file NekPoint.hpp.
|
inline |
Arithmetic Routines.
Definition at line 275 of file NekPoint.hpp.
Referenced by Nektar::negate(), and Nektar::NekPoint< NekDouble >::operator-().
|
inline |
Definition at line 267 of file NekPoint.hpp.
|
inline |
Returns i^{th} element.
i | The element to return. |
Retrieves the i^{th} element. Since it returns a reference you may assign a new value (i.e., p(2) = 3.2;)
This operator performs range checking.
Definition at line 132 of file NekPoint.hpp.
|
inline |
Definition at line 140 of file NekPoint.hpp.
|
inline |
Definition at line 328 of file NekPoint.hpp.
|
inline |
Definition at line 291 of file NekPoint.hpp.
|
inline |
Definition at line 300 of file NekPoint.hpp.
|
inline |
Definition at line 283 of file NekPoint.hpp.
|
inline |
Definition at line 309 of file NekPoint.hpp.
|
inline |
Definition at line 319 of file NekPoint.hpp.
|
inline |
Definition at line 337 of file NekPoint.hpp.
|
inline |
Definition at line 111 of file NekPoint.hpp.
|
inline |
Definition at line 253 of file NekPoint.hpp.
|
inline |
Definition at line 148 of file NekPoint.hpp.
|
inline |
Definition at line 153 of file NekPoint.hpp.
|
inline |
Definition at line 194 of file NekPoint.hpp.
|
inline |
Definition at line 200 of file NekPoint.hpp.
|
inline |
Definition at line 212 of file NekPoint.hpp.
|
inline |
Definition at line 218 of file NekPoint.hpp.
|
inline |
Definition at line 224 of file NekPoint.hpp.
|
inline |
Definition at line 206 of file NekPoint.hpp.
|
inline |
Definition at line 158 of file NekPoint.hpp.
Referenced by Nektar::SpatialDomains::PointGeom::dist(), Nektar::SpatialDomains::PointGeom::dot(), Nektar::NekPoint< NekDouble >::NekPoint(), and Nektar::SpatialDomains::PointGeom::Rotate().
|
inline |
Definition at line 230 of file NekPoint.hpp.
|
inline |
Definition at line 164 of file NekPoint.hpp.
Referenced by Nektar::SpatialDomains::PointGeom::dist(), Nektar::SpatialDomains::PointGeom::dot(), Nektar::NekPoint< NekDouble >::NekPoint(), and Nektar::SpatialDomains::PointGeom::Rotate().
|
inline |
Definition at line 236 of file NekPoint.hpp.
|
inline |
Definition at line 170 of file NekPoint.hpp.
Referenced by Nektar::SpatialDomains::PointGeom::dist(), Nektar::SpatialDomains::PointGeom::dot(), Nektar::NekPoint< NekDouble >::NekPoint(), and Nektar::SpatialDomains::PointGeom::Rotate().
|
inline |
Definition at line 242 of file NekPoint.hpp.
|
private |
Definition at line 362 of file NekPoint.hpp.
Referenced by Nektar::NekPoint< NekDouble >::a(), Nektar::NekPoint< NekDouble >::AsString(), Nektar::NekPoint< NekDouble >::GetPtr(), Nektar::NekPoint< NekDouble >::NekPoint(), Nektar::NekPoint< NekDouble >::operator()(), Nektar::NekPoint< NekDouble >::operator*=(), Nektar::NekPoint< NekDouble >::operator+=(), Nektar::NekPoint< NekDouble >::operator-=(), Nektar::NekPoint< NekDouble >::operator/=(), Nektar::NekPoint< NekDouble >::operator=(), Nektar::NekPoint< NekDouble >::operator==(), Nektar::NekPoint< NekDouble >::operator[](), Nektar::NekPoint< NekDouble >::r(), Nektar::NekPoint< NekDouble >::SetX(), Nektar::NekPoint< NekDouble >::SetY(), Nektar::NekPoint< NekDouble >::SetZ(), and Nektar::NekPoint< NekDouble >::x().