// ---------------------------------------------------------------------
// $Id$
//
-// Copyright (C) 2012 - 2013 by the deal.II authors
+// Copyright (C) 2012 - 2014 by the deal.II authors
//
// This file is part of the deal.II library.
//
# pragma warning( disable : 4700 ) /* uninitialized local variable */
# pragma warning( disable : 4789 ) /* destination of memory copy is too small */
# pragma warning( disable : 4808 ) /* case 'value' is not a valid value for switch condition of type 'bool */
+
+/* Also make sure we don't let MS Windows headers define min/max as
+ macros, see http://support.microsoft.com/kb/143208 */
+# define NOMINMAX
#endif /*_MSC_VER*/
// ---------------------------------------------------------------------
// $Id$
//
-// Copyright (C) 1999 - 2013 by the deal.II authors
+// Copyright (C) 1999 - 2014 by the deal.II authors
//
// This file is part of the deal.II library.
//
template <int dim2, class DH2, bool lda2>
inline
DoFAccessor<structdim,DH,lda>::DoFAccessor (const DoFAccessor<dim2, DH2, lda2> &other)
- : BaseClass(other), dof_handler(const_cast<DH *>(other.dof_handler))
+ : BaseClass(other),
+ dof_handler(0)
{
Assert (false, ExcInvalidObject());
}
template <bool lda2>
inline
DoFAccessor<structdim,DH,lda>::DoFAccessor (const DoFAccessor<structdim, DH, lda2> &other)
- : BaseClass(other), dof_handler(const_cast<DH *>(other.dof_handler))
+ : BaseClass(other),
+ dof_handler(const_cast<DH *>(other.dof_handler))
{
}
// ---------------------------------------------------------------------
// $Id$
//
-// Copyright (C) 2001 - 2013 by the deal.II authors
+// Copyright (C) 2001 - 2014 by the deal.II authors
//
// This file is part of the deal.II library.
//
- template <class DH>
- std::vector<typename DH::active_cell_iterator>
- get_active_child_cells (const typename DH::cell_iterator &cell)
+ template <class Container>
+ std::vector<typename Container::active_cell_iterator>
+ get_active_child_cells (const typename Container::cell_iterator &cell)
{
- std::vector<typename DH::active_cell_iterator> child_cells;
+ std::vector<typename Container::active_cell_iterator> child_cells;
if (cell->has_children())
{
child<cell->n_children(); ++child)
if (cell->child (child)->has_children())
{
- const std::vector<typename DH::active_cell_iterator>
- children = get_active_child_cells<DH> (cell->child(child));
+ const std::vector<typename Container::active_cell_iterator>
+ children = get_active_child_cells<Container> (cell->child(child));
child_cells.insert (child_cells.end(),
children.begin(), children.end());
}
// ---------------------------------------------------------------------
// $Id$
//
-// Copyright (C) 1999 - 2013 by the deal.II authors
+// Copyright (C) 1999 - 2014 by the deal.II authors
//
// This file is part of the deal.II library.
//
Vector<Number> &
Vector<Number>::operator = (const Vector<Number> &v)
{
- internal::Vector::copy_vector (v, *this);
+ dealii::internal::Vector::copy_vector (v, *this);
return *this;
}
// ---------------------------------------------------------------------
// $Id$
//
-// Copyright (C) 1999 - 2013 by the deal.II authors
+// Copyright (C) 1999 - 2014 by the deal.II authors
//
// This file is part of the deal.II library.
//
Point<3> camera_direction_temp;
Point<3> camera_horizontal_temp;
- const float angle_factor = 3.14159265 / 180.;
+ const double angle_factor = 3.14159265 / 180.;
// (I) rotate the camera to the chosen polar angle
camera_position_temp[1] = cos(angle_factor * svg_flags.polar_angle) * camera_position[1] - sin(angle_factor * svg_flags.polar_angle) * camera_position[2];
// ---------------------------------------------------------------------
// $Id$
//
-// Copyright (C) 1998 - 2013 by the deal.II authors
+// Copyright (C) 1998 - 2014 by the deal.II authors
//
// This file is part of the deal.II library.
//
return (GeometryInfo<dim>::is_inside_unit_cell
(StaticMappingQ1<dim,spacedim>::mapping.transform_real_to_unit_cell(cell_iterator, p)));
}
- catch (const Mapping<dim,spacedim>::ExcTransformationFailed &e)
+ catch (const Mapping<dim,spacedim>::ExcTransformationFailed &)
{
return false;
}
(const DoFHandler<deal_II_dimension,deal_II_space_dimension>&,
const Function<deal_II_space_dimension>&,
VEC&);
+
+ template
+ void interpolate
+ (const DoFHandler<deal_II_dimension,deal_II_space_dimension>&,
+ const DoFHandler<deal_II_dimension,deal_II_space_dimension>&,
+ const FullMatrix<double>&,
+ const VEC&,
+ VEC&);
+
\}
#endif
}
(const hp::DoFHandler<deal_II_dimension>&,
const Function<deal_II_dimension>&,
VEC&);
-
- template
- void interpolate
- (const DoFHandler<deal_II_dimension>&,
- const DoFHandler<deal_II_dimension>&,
- const FullMatrix<double>&,
- const VEC&,
- VEC&);
template
void interpolate_based_on_material_id(const Mapping<deal_II_dimension, deal_II_space_dimension>&,