//---------------------------------------------------------------------------
// $Id$
//
-// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2011, 2012 by the deal.II authors
+// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2011, 2012, 2013 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
{
public:
/**
- * Constructor. Per default
- * circular tube along the x-axis
- * (<tt>axis=0</tt>). Choose
- * <tt>axis=1</tt> or
- * <tt>axis=2</tt> for a tube
- * along the y- or z-axis,
- * respectively.
+ * Constructor. Using default values for the constructor arguments yields a
+ * circular tube along the x-axis (<tt>axis=0</tt>). Choose <tt>axis=1</tt>
+ * or <tt>axis=2</tt> for a tube along the y- or z-axis, respectively.
*/
CylinderBoundary (const double radius = 1.0,
const unsigned int axis = 0);
* the given point may be any
* point on the axis.
*/
- CylinderBoundary (const double radius,
- const Point<spacedim> direction,
- const Point<spacedim> point_on_axis);
+ CylinderBoundary (const double radius,
+ const Point<spacedim> &direction,
+ const Point<spacedim> &point_on_axis);
/**
* Refer to the general documentation of
// $Id$
// Version: $Name$
//
-// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011, 2012 by the deal.II authors
+// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011, 2012, 2013 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
template <int dim, int spacedim>
-CylinderBoundary<dim,spacedim>::CylinderBoundary (const double radius,
- const Point<spacedim> direction,
- const Point<spacedim> point_on_axis)
+CylinderBoundary<dim,spacedim>::CylinderBoundary (const double radius,
+ const Point<spacedim> &direction,
+ const Point<spacedim> &point_on_axis)
:
radius(radius),
direction (direction / direction.norm()),
#include "tria_boundary_lib.inst"
DEAL_II_NAMESPACE_CLOSE
-