<commit_before>//----------------------------  subcelldata.cc  ---------------------------
//    $Id$
//    Version: $Name$ 
//
//    Copyright (C) 2005 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.
//
//----------------------------  subcelldata.cc  ---------------------------


#include "../tests.h"
#include <grid/tria.h>
#include <grid/grid_out.h>
#include <grid/tria_iterator.h>
#include <grid/tria_accessor.h>

#include <fstream>


static const unsigned subcells[6][4] = {{0, 1, 2, 3},
					{4, 5, 6, 7},
					{0, 1, 5, 4},
					{1, 5, 6, 2},
					{3, 2, 6, 7},
					{0, 4, 7, 3}};



template <int dim>
void test()
{
  Assert(dim==2 || dim==3, ExcNotImplemented());
  
  std::vector<Point<dim> > vertices (GeometryInfo<dim>::vertices_per_cell);
  vertices[0](0)=0;<commit_msg>Removed the constness from the array which is used to initialise the test as gcc4.0.2 complained about this and it should not do any harm in other configurations.<commit_after>//----------------------------  subcelldata.cc  ---------------------------
//    $Id$
//    Version: $Name$ 
//
//    Copyright (C) 2005 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.
//
//----------------------------  subcelldata.cc  ---------------------------


#include "../tests.h"
#include <grid/tria.h>
#include <grid/grid_out.h>
#include <grid/tria_iterator.h>
#include <grid/tria_accessor.h>

#include <fstream>


static unsigned subcells[6][4] = {{0, 1, 2, 3},
				  {4, 5, 6, 7},
				  {0, 1, 5, 4},
				  {1, 5, 6, 2},
				  {3, 2, 6, 7},
				  {0, 4, 7, 3}};



template <int dim>
void test()
{
  Assert(dim==2 || dim==3, ExcNotImplemented());
  
  std::vector<Point<dim> > vertices (GeometryInfo<dim>::vertices_per_cell);
  vertices[0](0)=0;
{'fraction_non_alphanumeric': 0.24718574108818012, 'fraction_numerical': 0.03424015009380863, 'mean_word_length': 2.0, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '1181684', 'n_tokens_mistral': 802, 'n_tokens_neox': 707, 'n_words': 217}