src/PBGWraps/Utilities/writeRectilinearMesh.hh
//------------------------------------------------------------------------------
// Convert the input tensor to a Tensor3d.
//------------------------------------------------------------------------------
Convert the input tensor to a Tensor3d.
Convert the input tensor to a Tensor3d .
inline
Dim<3>::Tensor
convertToTensor3d(const Dim<2>::Tensor& x) {
  return Dim<3>::Tensor(x.xx(), x.xy(), 0.0,
                        x.yx(), x.yy(), 0.0,
                        0.0,    0.0,    0.0);
}
inline Dim < 3 > :: Tensor convertToTensor3d ( const Dim < 2 > :: Tensor & x ) { return Dim < 3 > :: Tensor ( x . xx ( ) , x . xy ( ) , 0.0 , x . yx ( ) , x . yy ( ) , 0.0 , 0.0 , 0.0 , 0.0 ) ; }
Convert the input tensor to a Tensor3d.
Convert the input tensor to a Tensor3d .