<commit_before>//---------------------------------------------------------------------------
//    $Id$
//    Version: $Name$
//
//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
//
//    This file is subject to QPL and may not be  distributed
//    without copyright and license information. Please refer
//    to the file deal.II/doc/license.html for the  text  and
//    further information on this license.
//
//---------------------------------------------------------------------------


#include <base/memory_consumption.h>
#include <dofs/dof_handler.h>
#include <dofs/dof_levels.h>
#include <dofs/dof_faces.h>
#include <dofs/dof_accessor.h>
#include <grid/tria_accessor.h>
#include <grid/tria_iterator.h>
#include <grid/tria_levels.h>
#include <grid/tria.h>
#include <base/geometry_info.h>
#include <fe/fe.h>

#include <set>
#include <algorithm>


template <int dim>
const unsigned int DoFHandler<dim>::dimension;

template <int dim>
const unsigned int DoFHandler<dim>::invalid_dof_index;

template <int dim>
const unsigned int DoFHandler<dim>::default_fe_index;


// reference the invalid_dof_index variable explicitely to work around
// a bug in the icc8 compiler
namespace internal
{
  const unsigned int * dummy ()
  {
    return &::DoFHandler<deal_II_dimension>::invalid_dof_index;
  }
}



template <int dim>
DoFHandler<dim>::DoFHandler (const Triangulation<dim> &tria) :
		tria(&tria, typeid(*this).name()),
		selected_fe(0, typeid(*this).name()),
		faces(NULL),
		used_dofs (0)
{}


template <int dim>
DoFHandler<dim>::~DoFHandler ()
{
				   // release allocated memory
  clear ();
}


#if deal_II_dimension == 1

template <>
DoFHandler<1>::raw_cell_iterator
DoFHandler<1>::begin_raw (const unsigned int level) const
{
  return begin_raw_line (level);
}<commit_msg>Make dummy a template function to avoid duplicate symbols.<commit_after>//---------------------------------------------------------------------------
//    $Id$
//    Version: $Name$
//
//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
//
//    This file is subject to QPL and may not be  distributed
//    without copyright and license information. Please refer
//    to the file deal.II/doc/license.html for the  text  and
//    further information on this license.
//
//---------------------------------------------------------------------------


#include <base/memory_consumption.h>
#include <dofs/dof_handler.h>
#include <dofs/dof_levels.h>
#include <dofs/dof_faces.h>
#include <dofs/dof_accessor.h>
#include <grid/tria_accessor.h>
#include <grid/tria_iterator.h>
#include <grid/tria_levels.h>
#include <grid/tria.h>
#include <base/geometry_info.h>
#include <fe/fe.h>

#include <set>
#include <algorithm>


template <int dim>
const unsigned int DoFHandler<dim>::dimension;

template <int dim>
const unsigned int DoFHandler<dim>::invalid_dof_index;

template <int dim>
const unsigned int DoFHandler<dim>::default_fe_index;


// reference the invalid_dof_index variable explicitely to work around
// a bug in the icc8 compiler
namespace internal
{
  template <int dim>
  const unsigned int * dummy ()
  {
    return &::DoFHandler<dim>::invalid_dof_index;
  }

  template const unsigned int * dummy<deal_II_dimension> ();
}



template <int dim>
DoFHandler<dim>::DoFHandler (const Triangulation<dim> &tria) :
		tria(&tria, typeid(*this).name()),
		selected_fe(0, typeid(*this).name()),
		faces(NULL),
		used_dofs (0)
{}


template <int dim>
DoFHandler<dim>::~DoFHandler ()
{
				   // release allocated memory
  clear ();
}


#if deal_II_dimension == 1

template <>
DoFHandler<1>::raw_cell_iterator
DoFHandler<1>::begin_raw (const unsigned int level) const
{
  return begin_raw_line (level);
}
{'fraction_non_alphanumeric': 0.20185676392572943, 'fraction_numerical': 0.022281167108753316, 'mean_word_length': 2.9486910994764397, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5439357', 'n_tokens_mistral': 1311, 'n_tokens_neox': 1190, 'n_words': 326}