// ---------------------------------------------------------------------
//
-// Copyright (C) 2000 - 2014 by the deal.II authors
+// Copyright (C) 2000 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
template <typename number>
void SwappableVector<number>::reload_vector (const bool set_flag)
{
+ (void)set_flag;
+
Assert (filename != "", ExcInvalidFilename (filename));
Assert (this->size() == 0, ExcSizeNonzero());
tmp_in.close ();
#ifdef DEAL_II_WITH_THREADS
- // release the lock that was
- // acquired by the calling
- // functions
+ // release the lock that was acquired by the calling functions
// set the flag if so required
if (set_flag)
// ---------------------------------------------------------------------
//
-// Copyright (C) 1999 - 2014 by the deal.II authors
+// Copyright (C) 1999 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
ResultType &result,
const int depth = -1)
{
+ (void)depth;
+
if (vec_size <= 4096)
{
// the vector is short enough so we perform the summation. first
// ---------------------------------------------------------------------
//
-// Copyright (C) 1998 - 2014 by the deal.II authors
+// Copyright (C) 1998 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
DEAL_II_NAMESPACE_OPEN
+#ifdef DEBUG
namespace
{
// create a lock that might be used to control subscription to and
// <subscriptor.h> file).
Threads::Mutex subscription_lock;
}
+#endif
static const char *unknown_subscriber = "unknown subscriber";
// ---------------------------------------------------------------------
//
-// Copyright (C) 2000 - 2014 by the deal.II authors
+// Copyright (C) 2000 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
const char *,
void *)
{
+ (void)count;
Assert (count == 1, ExcBarrierSizeNotUseful(count));
}
// ---------------------------------------------------------------------
//
-// Copyright (C) 1998 - 2014 by the deal.II authors
+// Copyright (C) 1998 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
renumber_dofs (const std::vector<dealii::types::global_dof_index> &new_numbers,
dealii::DoFHandler<dim,spacedim> &dof_handler) const
{
+ (void)new_numbers;
+ (void)dof_handler;
+
Assert (new_numbers.size() == dof_handler.locally_owned_dofs().n_elements(),
ExcInternalError());
= *std::max_element (target_component.begin(),
target_component.end());
const unsigned int n_target_components = max_component + 1;
+ (void)n_target_components; // silence possible warning about unused variable
AssertDimension (dofs_per_component.size(), n_target_components);
= *std::max_element (target_block.begin(),
target_block.end());
const unsigned int n_target_blocks = max_block + 1;
+ (void)n_target_blocks; // silence possible warning about unused variable
+
const unsigned int n_blocks = fe.n_blocks();
AssertDimension (dofs_per_block.size(), n_target_blocks);