54 template<
class T>
class Grad_orth;
55 template<
class T>
class Grad_frac;
56 template<
class T>
class Grad_map;
57 template<
class T>
class Curv_orth;
58 template<
class T>
class Curv_frac;
59 template<
class T>
class Curv_map;
71 const T&
dx()
const {
return (*
this)[0]; }
72 const T&
dy()
const {
return (*
this)[1]; }
73 const T&
dz()
const {
return (*
this)[2]; }
89 const T&
du()
const {
return (*
this)[0]; }
90 const T&
dv()
const {
return (*
this)[1]; }
91 const T&
dw()
const {
return (*
this)[2]; }
109 const T&
du()
const {
return (*
this)[0]; }
110 const T&
dv()
const {
return (*
this)[1]; }
111 const T&
dw()
const {
return (*
this)[2]; }
212 c(0,0) = (*this)(0,0) / T(g.
nu()*g.
nu());
213 c(0,1) = (*this)(0,1) / T(g.
nu()*g.
nv());
214 c(0,2) = (*this)(0,2) / T(g.
nu()*g.
nw());
215 c(1,0) = (*this)(1,0) / T(g.
nv()*g.
nu());
216 c(1,1) = (*this)(1,1) / T(g.
nv()*g.
nv());
217 c(1,2) = (*this)(1,2) / T(g.
nv()*g.
nw());
218 c(2,0) = (*this)(2,0) / T(g.
nw()*g.
nu());
219 c(2,1) = (*this)(2,1) / T(g.
nw()*g.
nv());
220 c(2,2) = (*this)(2,2) / T(g.
nw()*g.
nw());
229 c(0,0) = (*this)(0,0) * T(g.
nu()*g.
nu());
230 c(0,1) = (*this)(0,1) * T(g.
nu()*g.
nv());
231 c(0,2) = (*this)(0,2) * T(g.
nu()*g.
nw());
232 c(1,0) = (*this)(1,0) * T(g.
nv()*g.
nu());
233 c(1,1) = (*this)(1,1) * T(g.
nv()*g.
nv());
234 c(1,2) = (*this)(1,2) * T(g.
nv()*g.
nw());
235 c(2,0) = (*this)(2,0) * T(g.
nw()*g.
nu());
236 c(2,1) = (*this)(2,1) * T(g.
nw()*g.
nv());
237 c(2,2) = (*this)(2,2) * T(g.
nw()*g.
nw());
Cell object.
Definition cell.h:122
const Mat33 & matrix_frac() const
return fractionalisation matrix
Definition cell.h:161
const Mat33 & matrix_orth() const
return orthogonalisation matrix
Definition cell.h:159
fractional (cell) curvatures, with respect to fractional u,v,w
Definition derivs.h:132
Curv_orth< T > curv_orth(const Cell &cell) const
fractional-orthogonal derivative conversion
Definition derivs.h:202
Curv_frac(const Mat33< T > &m)
constructor: copy/convert
Definition derivs.h:135
Curv_frac()
null constructor
Definition derivs.h:134
Curv_map< T > curv_map(const Grid &g) const
fractional-grid derivative conversion
Definition derivs.h:209
map coordinate curvatures, with respect to grid u,v,w
Definition derivs.h:146
Curv_map(const Mat33< T > &m)
constructor: copy/convert
Definition derivs.h:149
Curv_frac< T > curv_frac(const Grid &g) const
grid-fractional derivative conversion
Definition derivs.h:226
Curv_map()
null constructor
Definition derivs.h:148
orthogonal (Angstom) curvatures, with respect to orthogonal x,y,z
Definition derivs.h:120
Curv_orth()
null constructor
Definition derivs.h:122
Curv_orth(const Mat33< T > &m)
constructor: copy/convert
Definition derivs.h:123
Curv_frac< T > curv_frac(const Cell &cell) const
orthogonal-fractional derivative conversion
Definition derivs.h:194
fractional (cell) gradient, with respect to fractional u,v,w
Definition derivs.h:82
Grad_frac(const Vec3< T > &v)
constructor: copy/convert
Definition derivs.h:85
Grad_frac(const T &du, const T &dv, const T &dw)
constructor: from d/du,d/dv,d/dw
Definition derivs.h:87
Grad_map< T > grad_map(const Grid &g) const
fractional-grid derivative conversion
Definition derivs.h:180
Grad_orth< T > grad_orth(const Cell &cell) const
fractional-orthogonal derivative conversion
Definition derivs.h:176
const T & du() const
get d/du
Definition derivs.h:89
const T & dw() const
get d/dw
Definition derivs.h:91
Grad_frac()
null constructor
Definition derivs.h:84
const T & dv() const
get d/dv
Definition derivs.h:90
String format() const
return formatted String representation
Definition derivs.h:172
map coordinate gradient, with respect to grid u,v,w
Definition derivs.h:102
Grad_map(const T &du, const T &dv, const T &dw)
constructor: from d/du,d/dv,d/dw
Definition derivs.h:107
Grad_frac< T > grad_frac(const Grid &g) const
grid-fractional derivative conversion
Definition derivs.h:189
const T & du() const
get d/du
Definition derivs.h:109
const T & dv() const
get d/dv
Definition derivs.h:110
const T & dw() const
get d/dw
Definition derivs.h:111
String format() const
return formatted String representation
Definition derivs.h:185
Grad_map()
null constructor
Definition derivs.h:104
Grad_map(const Vec3< T > &v)
constructor: copy/convert
Definition derivs.h:105
orthogonal (Angstom) gradient, with respect to orthogonal x,y,z
Definition derivs.h:64
Grad_orth(const Vec3< T > &v)
constructor: copy/convert
Definition derivs.h:67
const T & dy() const
get d/dy
Definition derivs.h:72
String format() const
return formatted String representation
Definition derivs.h:163
const T & dz() const
get d/dz
Definition derivs.h:73
const T & dx() const
get d/dx
Definition derivs.h:71
Grad_orth()
null constructor
Definition derivs.h:66
Grad_orth(const T &dx, const T &dy, const T &dz)
constructor: from d/dx,d/dy,d/dz
Definition derivs.h:69
Grad_frac< T > grad_frac(const Cell &cell) const
orthogonal-fractional derivative conversion
Definition derivs.h:167
generic grid
Definition coords.h:480
const int & nu() const
get nu
Definition coords.h:485
const int & nw() const
get nw
Definition coords.h:487
const int & nv() const
get nv
Definition coords.h:486
3x3-matrix class
Definition clipper_types.h:183
Mat33< T > transpose() const
transpose
Definition clipper_types.h:488
String extension with simple parsing methods.
Definition clipper_types.h:65
3-vector class
Definition clipper_types.h:106