Reference documentation for deal.II version 8.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
include
deal.II
grid
grid_reordering.h
1
// ---------------------------------------------------------------------
2
// @f$Id: grid_reordering.h 30036 2013-07-18 16:55:32Z maier @f$
3
//
4
// Copyright (C) 2000 - 2013 by the deal.II authors
5
//
6
// This file is part of the deal.II library.
7
//
8
// The deal.II library is free software; you can use it, redistribute
9
// it, and/or modify it under the terms of the GNU Lesser General
10
// Public License as published by the Free Software Foundation; either
11
// version 2.1 of the License, or (at your option) any later version.
12
// The full text of the license can be found in the file LICENSE at
13
// the top level of the deal.II distribution.
14
//
15
// ---------------------------------------------------------------------
16
17
#ifndef __deal2__grid_reordering_h
18
#define __deal2__grid_reordering_h
19
20
21
#include <deal.II/base/config.h>
22
#include <deal.II/grid/tria.h>
23
24
#include <vector>
25
26
DEAL_II_NAMESPACE_OPEN
27
28
29
650
template
<
int
dim,
int
spacedim=dim>
651
class
GridReordering
652
{
653
public
:
654
666
static
void
reorder_cells
(std::vector<
CellData<dim>
> &original_cells);
667
698
static
void
invert_all_cells_of_negative_grid
(
699
const
std::vector<
Point<spacedim>
> &all_vertices,
700
std::vector<
CellData<dim>
> &original_cells);
701
};
702
703
704
// declaration of explicit specializations
705
template
<>
706
void
707
GridReordering<2>::reorder_cells
(std::vector<
CellData<2>
> &original_cells);
708
709
template
<>
710
void
711
GridReordering<2,3>::reorder_cells
(std::vector<
CellData<2>
> &original_cells);
712
713
template
<>
714
void
715
GridReordering<3>::reorder_cells
(std::vector<
CellData<3>
> &original_cells);
716
717
template
<>
718
void
719
GridReordering<2>::invert_all_cells_of_negative_grid
(
const
std::vector<
Point<2>
> &all_vertices,
720
std::vector<
CellData<2>
> &cells);
721
722
template
<>
723
void
724
GridReordering<2,3>::invert_all_cells_of_negative_grid
(
const
std::vector<
Point<3>
> &all_vertices,
725
std::vector<
CellData<2>
> &cells);
726
727
template
<>
728
void
729
GridReordering<3>::invert_all_cells_of_negative_grid
(
const
std::vector<
Point<3>
> &all_vertices,
730
std::vector<
CellData<3>
> &cells);
731
732
DEAL_II_NAMESPACE_CLOSE
733
734
#endif
CellData
Definition:
tria.h:98
GridReordering::reorder_cells
static void reorder_cells(std::vector< CellData< dim > > &original_cells)
GridReordering::invert_all_cells_of_negative_grid
static void invert_all_cells_of_negative_grid(const std::vector< Point< spacedim > > &all_vertices, std::vector< CellData< dim > > &original_cells)
DEAL_II_NAMESPACE_OPEN
Definition:
mg_transfer.templates.h:35
Point< spacedim >
GridReordering
Definition:
grid_reordering.h:651
Generated on Tue Jan 6 2015 18:21:41 for The deal.II Library by
1.8.8