namespace
{
template <int spacedim>
- class ShiftPoint
+ class Shift
{
public:
- ShiftPoint (const Tensor<1,spacedim> &shift)
+ Shift (const Tensor<1,spacedim> &shift)
:
shift(shift)
{}
template <int spacedim>
- class ScalePoint
+ class Scale
{
public:
- ScalePoint (const double factor)
+ Scale (const double factor)
:
factor(factor)
{}
shift (const Tensor<1,spacedim> &shift_vector,
Triangulation<dim, spacedim> &triangulation)
{
- transform (ShiftPoint<spacedim>(shift_vector), triangulation);
+ transform (Shift<spacedim>(shift_vector), triangulation);
}
Triangulation<dim, spacedim> &triangulation)
{
Assert (scaling_factor>0, ExcScalingFactorNotPositive (scaling_factor));
- transform (ScalePoint<spacedim>(scaling_factor), triangulation);
+ transform (Scale<spacedim>(scaling_factor), triangulation);
}