This keeps with our recent changes to separate the semantics of the two.
<h3>Specific improvements</h3>
<ol>
+ <li> Changed: In the spirit of the changes made to the distinction
+ between Point and Tensor objects discussed above, the first argument
+ to GridTools::shift() has been changed from a Point to a Tensor@<1,dim@>.
+ <br>
+ (Wolfgang Bangerth, 2015/04/02)
+ <li>
+
<li> New: There is now a new quadrature formula in quadrature_lib. It is
now possible to use Telles' quadrature rules through the function QTelles
to integrate singular integrals
* triangulation stated there hold for this function as well.
*/
template <int dim, int spacedim>
- void shift (const Point<spacedim> &shift_vector,
+ void shift (const Tensor<1,spacedim> &shift_vector,
Triangulation<dim,spacedim> &triangulation);
class ShiftPoint
{
public:
- ShiftPoint (const Point<spacedim> &shift)
+ ShiftPoint (const Tensor<1,spacedim> &shift)
:
shift(shift)
{}
return p+shift;
}
private:
- const Point<spacedim> shift;
+ const Tensor<1,spacedim> shift;
};
template <int dim, int spacedim>
void
- shift (const Point<spacedim> &shift_vector,
+ shift (const Tensor<1,spacedim> &shift_vector,
Triangulation<dim, spacedim> &triangulation)
{
transform (ShiftPoint<spacedim>(shift_vector), triangulation);
double);
template
- void shift<deal_II_dimension> (const Point<deal_II_space_dimension> &,
+ void shift<deal_II_dimension> (const Tensor<1,deal_II_space_dimension> &,
Triangulation<deal_II_dimension, deal_II_space_dimension> &);
template