Clipper
Public Member Functions
clipper::Grad_frac< T > Class Template Reference

fractional (cell) gradient, with respect to fractional u,v,w More...

#include <derivs.h>

Inheritance diagram for clipper::Grad_frac< T >:
clipper::Vec3< T >

List of all members.

Public Member Functions

 Grad_frac ()
 null constructor
 Grad_frac (const Vec3< T > &v)
 constructor: copy/convert
 Grad_frac (const T &du, const T &dv, const T &dw)
 constructor: from d/du,d/dv,d/dw
const T & du () const
 get d/du
const T & dv () const
 get d/dv
const T & dw () const
 get d/dw
Grad_orth< T > grad_orth (const Cell &cell) const
 fractional-orthogonal derivative conversion
Grad_map< T > grad_map (const Grid &g) const
 fractional-grid derivative conversion
String format () const
 return formatted String representation

Detailed Description

template<class T>
class clipper::Grad_frac< T >

fractional (cell) gradient, with respect to fractional u,v,w


Member Function Documentation

template<class T >
Grad_orth< T > clipper::Grad_frac< T >::grad_orth ( const Cell cell) const [inline]

fractional-orthogonal derivative conversion

Parameters:
cellThe cell concerned
Returns:
The transformed derivative.

References clipper::Cell::matrix_frac().

template<class T >
Grad_map< T > clipper::Grad_frac< T >::grad_map ( const Grid g) const [inline]

fractional-grid derivative conversion

Parameters:
gThe grid concerned
Returns:
The transformed derivative.

References clipper::Grid::nu(), clipper::Grid::nv(), and clipper::Grid::nw().

template<class T >
String clipper::Grad_frac< T >::format ( ) const

return formatted String representation

Returns:
The formatted text string

Reimplemented from clipper::Vec3< T >.


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