Jpp  18.2.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
JTOOLS::JSplineElement2S< JAbscissa_t, JOrdinate_t > Struct Template Reference

2D Element for spline interpolations. More...

#include <JElement.hh>

Inheritance diagram for JTOOLS::JSplineElement2S< JAbscissa_t, JOrdinate_t >:
JTOOLS::JSplineElement2D< JAbscissa_t, JOrdinate_t > JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >

Public Types

typedef JSplineElement2D
< JAbscissa_t, JOrdinate_t > 
element_type
 
typedef element_type::abscissa_type abscissa_type
 
typedef element_type::ordinate_type ordinate_type
 

Public Member Functions

 JSplineElement2S ()
 Default constructor. More...
 
 JSplineElement2S (typename JLANG::JClass< abscissa_type >::argument_type x, typename JLANG::JClass< ordinate_type >::argument_type y)
 Constructor. More...
 
ordinate_type getIntegral () const
 Get integral. More...
 
void setIntegral (typename JLANG::JClass< ordinate_type >::argument_type v)
 Set integral. More...
 
ordinate_type getU () const
 Get derivative. More...
 
void setU (typename JLANG::JClass< ordinate_type >::argument_type u)
 Set derivative. More...
 
abscissa_type getX () const
 Get abscissa value. More...
 
const ordinate_typegetY () const
 Get ordinate value. More...
 
ordinate_typegetY ()
 Get ordinate value. More...
 

Protected Attributes

ordinate_type __v
 
ordinate_type __u
 
abscissa_type __x
 
ordinate_type __y
 

Detailed Description

template<class JAbscissa_t, class JOrdinate_t>
struct JTOOLS::JSplineElement2S< JAbscissa_t, JOrdinate_t >

2D Element for spline interpolations.

Note that the internal data members needed for the calculation of the integral values are not subject to I/O, i.e. the I/O of this class is identical to that of the JElement2D class.

Definition at line 219 of file JElement.hh.

Member Typedef Documentation

template<class JAbscissa_t, class JOrdinate_t>
typedef JSplineElement2D<JAbscissa_t, JOrdinate_t> JTOOLS::JSplineElement2S< JAbscissa_t, JOrdinate_t >::element_type

Definition at line 223 of file JElement.hh.

template<class JAbscissa_t, class JOrdinate_t>
typedef element_type::abscissa_type JTOOLS::JSplineElement2S< JAbscissa_t, JOrdinate_t >::abscissa_type

Definition at line 224 of file JElement.hh.

template<class JAbscissa_t, class JOrdinate_t>
typedef element_type::ordinate_type JTOOLS::JSplineElement2S< JAbscissa_t, JOrdinate_t >::ordinate_type

Definition at line 225 of file JElement.hh.

Constructor & Destructor Documentation

template<class JAbscissa_t, class JOrdinate_t>
JTOOLS::JSplineElement2S< JAbscissa_t, JOrdinate_t >::JSplineElement2S ( )
inline

Default constructor.

Definition at line 231 of file JElement.hh.

231  :
232  element_type(),
233  __v(getZero<ordinate_type>())
234  {}
JSplineElement2D< JAbscissa_t, JOrdinate_t > element_type
Definition: JElement.hh:223
template<class JAbscissa_t, class JOrdinate_t>
JTOOLS::JSplineElement2S< JAbscissa_t, JOrdinate_t >::JSplineElement2S ( typename JLANG::JClass< abscissa_type >::argument_type  x,
typename JLANG::JClass< ordinate_type >::argument_type  y 
)
inline

Constructor.

Parameters
xabscissa value
yordinate value

Definition at line 243 of file JElement.hh.

244  :
245  element_type(x, y),
246  __v(getZero<ordinate_type>())
247  {}
JSplineElement2D< JAbscissa_t, JOrdinate_t > element_type
Definition: JElement.hh:223

Member Function Documentation

template<class JAbscissa_t, class JOrdinate_t>
ordinate_type JTOOLS::JSplineElement2S< JAbscissa_t, JOrdinate_t >::getIntegral ( ) const
inline

Get integral.

Returns
integral

Definition at line 255 of file JElement.hh.

256  {
257  return __v;
258  }
template<class JAbscissa_t, class JOrdinate_t>
void JTOOLS::JSplineElement2S< JAbscissa_t, JOrdinate_t >::setIntegral ( typename JLANG::JClass< ordinate_type >::argument_type  v)
inline

Set integral.

Parameters
vintegral

Definition at line 266 of file JElement.hh.

267  {
268  __v = v;
269  }
data_type v[N+1][M+1]
Definition: JPolint.hh:866
template<class JAbscissa_t, class JOrdinate_t>
ordinate_type JTOOLS::JSplineElement2D< JAbscissa_t, JOrdinate_t >::getU ( ) const
inlineinherited

Get derivative.

Returns
derivative

Definition at line 189 of file JElement.hh.

190  {
191  return __u;
192  }
template<class JAbscissa_t, class JOrdinate_t>
void JTOOLS::JSplineElement2D< JAbscissa_t, JOrdinate_t >::setU ( typename JLANG::JClass< ordinate_type >::argument_type  u)
inlineinherited

Set derivative.

Parameters
uderivative

Definition at line 200 of file JElement.hh.

201  {
202  __u= u;
203  }
double u[N+1]
Definition: JPolint.hh:865
template<class JAbscissa_t, class JOrdinate_t>
abscissa_type JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >::getX ( ) const
inlineinherited

Get abscissa value.

Returns
abscissa value

Definition at line 79 of file JElement.hh.

80  {
81  return __x;
82  }
abscissa_type __x
Definition: JElement.hh:140
template<class JAbscissa_t, class JOrdinate_t>
const ordinate_type& JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >::getY ( ) const
inlineinherited

Get ordinate value.

Returns
ordinate value

Definition at line 90 of file JElement.hh.

91  {
92  return __y;
93  }
ordinate_type __y
Definition: JElement.hh:141
template<class JAbscissa_t, class JOrdinate_t>
ordinate_type& JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >::getY ( )
inlineinherited

Get ordinate value.

Returns
ordinate value

Definition at line 101 of file JElement.hh.

102  {
103  return __y;
104  }
ordinate_type __y
Definition: JElement.hh:141

Member Data Documentation

template<class JAbscissa_t, class JOrdinate_t>
ordinate_type JTOOLS::JSplineElement2S< JAbscissa_t, JOrdinate_t >::__v
protected

Definition at line 273 of file JElement.hh.

template<class JAbscissa_t, class JOrdinate_t>
ordinate_type JTOOLS::JSplineElement2D< JAbscissa_t, JOrdinate_t >::__u
protectedinherited

Definition at line 207 of file JElement.hh.

template<class JAbscissa_t, class JOrdinate_t>
abscissa_type JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >::__x
protectedinherited

Definition at line 140 of file JElement.hh.

template<class JAbscissa_t, class JOrdinate_t>
ordinate_type JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >::__y
protectedinherited

Definition at line 141 of file JElement.hh.


The documentation for this struct was generated from the following file: