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 52 of file NekPoint.hpp.
typedef data_type Nektar::NekPoint< data_type >::DataType |
Definition at line 55 of file NekPoint.hpp.
typedef ThreeD Nektar::NekPoint< data_type >::dim |
Definition at line 56 of file NekPoint.hpp.
|
inline |
Definition at line 59 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 73 of file NekPoint.hpp.
References ASSERTL0, and Nektar::fromString().
|
inline |
Definition at line 79 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, Nektar::NekPoint< data_type >::x(), Nektar::NekPoint< data_type >::y(), and Nektar::NekPoint< data_type >::z().
|
inlineexplicit |
Definition at line 88 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::a(), Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 96 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 104 of file NekPoint.hpp.
|
inline |
Definition at line 178 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
Referenced by Nektar::NekPoint< data_type >::NekPoint().
|
inline |
Definition at line 350 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 184 of file NekPoint.hpp.
References Nektar::ThreeD::Value.
|
inline |
Definition at line 190 of file NekPoint.hpp.
References Nektar::ThreeD::Value.
|
inlinestatic |
Returns the number of dimensions for the point.
Definition at line 118 of file NekPoint.hpp.
References Nektar::ThreeD::Value.
|
inline |
Definition at line 250 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data.
|
inline |
Arithmetic Routines.
Definition at line 277 of file NekPoint.hpp.
References Nektar::ThreeD::Value.
Referenced by Nektar::negate(), and Nektar::NekPoint< data_type >::operator-().
|
inline |
Definition at line 269 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.
References ASSERTL0, Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 140 of file NekPoint.hpp.
References ASSERTL0, Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 330 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 292 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 301 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 285 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::negate().
|
inline |
Definition at line 311 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 320 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 340 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 108 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 255 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 149 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data.
|
inline |
Definition at line 154 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data.
|
inline |
Definition at line 196 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 202 of file NekPoint.hpp.
References Nektar::ThreeD::Value.
|
inline |
Definition at line 214 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 220 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 226 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
|
inline |
Definition at line 208 of file NekPoint.hpp.
References Nektar::ThreeD::Value.
|
inline |
Definition at line 232 of file NekPoint.hpp.
References Nektar::ThreeD::Value.
|
inline |
Definition at line 160 of file NekPoint.hpp.
References Nektar::NekPoint< data_type >::m_data, and Nektar::ThreeD::Value.
Referenced by Nektar::UnitTests::BOOST_AUTO_TEST_CASE(), Nektar::NekPoint< data_type >::NekPoint(), PointGeom_GetCoordinates(), and Nektar::LocalRegions::Expansion3D::v_TraceNormLen().
|
inline |
Definition at line 238 of file NekPoint.hpp.
References Nektar::ThreeD::Value.
|
inline |
Definition at line 166 of file NekPoint.hpp.
References Nektar::ThreeD::Value.
Referenced by Nektar::UnitTests::BOOST_AUTO_TEST_CASE(), Nektar::NekPoint< data_type >::NekPoint(), PointGeom_GetCoordinates(), and Nektar::LocalRegions::Expansion3D::v_TraceNormLen().
|
inline |
Definition at line 244 of file NekPoint.hpp.
References Nektar::ThreeD::Value.
|
inline |
Definition at line 172 of file NekPoint.hpp.
References Nektar::ThreeD::Value.
Referenced by Nektar::UnitTests::BOOST_AUTO_TEST_CASE(), Nektar::NekPoint< data_type >::NekPoint(), PointGeom_GetCoordinates(), and Nektar::LocalRegions::Expansion3D::v_TraceNormLen().
|
private |
Definition at line 366 of file NekPoint.hpp.
Referenced by Nektar::NekPoint< data_type >::a(), Nektar::NekPoint< data_type >::AsString(), Nektar::NekPoint< data_type >::GetPtr(), Nektar::NekPoint< data_type >::NekPoint(), Nektar::NekPoint< data_type >::operator()(), Nektar::NekPoint< data_type >::operator*=(), Nektar::NekPoint< data_type >::operator+=(), Nektar::NekPoint< data_type >::operator-=(), Nektar::NekPoint< data_type >::operator/=(), Nektar::NekPoint< data_type >::operator=(), Nektar::NekPoint< data_type >::operator==(), Nektar::NekPoint< data_type >::operator[](), Nektar::NekPoint< data_type >::r(), Nektar::NekPoint< data_type >::SetX(), Nektar::NekPoint< data_type >::SetY(), Nektar::NekPoint< data_type >::SetZ(), and Nektar::NekPoint< data_type >::x().