*/
struct Pointerstruct
{
- Pointerstruct() : indices_ptr(nullptr), dof_values_ptr(nullptr), active_fe_index(0) {};
+ Pointerstruct() : indices_ptr(nullptr), dof_values_ptr(nullptr), active_fe_index(0) {}
Pointerstruct(std::vector<types::global_dof_index> *indices_ptr_in,
const unsigned int active_fe_index_in = 0)
:
indices_ptr(indices_ptr_in),
dof_values_ptr (nullptr),
- active_fe_index(active_fe_index_in) {};
+ active_fe_index(active_fe_index_in) {}
Pointerstruct(std::vector<Vector<typename VectorType::value_type> > *dof_values_ptr_in,
const unsigned int active_fe_index_in = 0) :
indices_ptr (nullptr),
dof_values_ptr(dof_values_ptr_in),
- active_fe_index(active_fe_index_in) {};
+ active_fe_index(active_fe_index_in) {}
std::size_t memory_consumption () const;
std::vector<types::global_dof_index> *indices_ptr;
for (unsigned int j=0; j<4; ++j)
cells[i].vertices[j] = cell_vertices[i][j];
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (
std::vector<Point<2> >(std::begin(vertices), std::end(vertices)),
cells,
for (unsigned int j=0; j<4; ++j)
cells[i].vertices[j] = cell_vertices[i][j];
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (
std::vector<Point<2> >(std::begin(vertices), std::end(vertices)),
cells[i].vertices[j] = cell_vertices[i][j];
cells[i].material_id = 0;
cells[i].manifold_id = i==2 ? 1 : numbers::flat_manifold_id;
- };
+ }
tria.create_triangulation (
std::vector<Point<2> >(std::begin(vertices), std::end(vertices)),
vertices[i] += center;
vertices[i+N] += center;
- };
+ }
std::vector<CellData<2> > cells (N, CellData<2>());
cells[i].vertices[3] = N+((i+1)%N);
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (
vertices, cells, SubCellData());
for (unsigned int j=0; j<4; ++j)
cells[i].vertices[j] = cell_vertices[i][j];
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (
std::vector<Point<dim> >(std::begin(vertices), std::end(vertices)),
for (unsigned int j=0; j<4; ++j)
cells[i].vertices[j] = cell_vertices[i][j];
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (
std::vector<Point<2> >(std::begin(vertices), std::end(vertices)),
vertices[i] += center;
vertices[i+N+1] += center;
- };
+ }
std::vector<CellData<2> > cells (N, CellData<2>());
cells[i].vertices[3] = N+1+((i+1)%(N+1));
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (vertices, cells, SubCellData());
vertices[i] += center;
vertices[i+N+1] += center;
- };
+ }
std::vector<CellData<2> > cells (N, CellData<2>());
cells[i].vertices[3] = N+1+((i+1)%(N+1));
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (vertices, cells, SubCellData());
for (unsigned int j=0; j<8; ++j)
cells[i].vertices[j] = cell_vertices[i][j];
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (
std::vector<Point<3> >(std::begin(vertices), std::end(vertices)),
cells,
for (unsigned int j=0; j<8; ++j)
cells[i].vertices[j] = cell_vertices[i][j];
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (
std::vector<Point<3> >(std::begin(vertices), std::end(vertices)),
cells[i].vertices[j] = cell_vertices[i][j];
cells[i].material_id = 0;
cells[i].manifold_id = i == 0 ? numbers::flat_manifold_id : 1;
- };
+ }
tria.create_triangulation (
std::vector<Point<3> >(std::begin(vertices), std::end(vertices)),
for (unsigned int j=0; j<8; ++j)
cells[i].vertices[j] = cell_vertices[i][j];
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (
std::vector<Point<3> >(std::begin(vertices), std::end(vertices)),
for (unsigned int j=0; j<8; ++j)
cells[i].vertices[j] = cell_vertices[i][j];
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (
std::vector<Point<dim> >(std::begin(vertices), std::end(vertices)),
for (unsigned int j=0; j<8; ++j)
cells[i].vertices[j] = cell_vertices[i][j];
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (
std::vector<Point<3> >(std::begin(vertices), std::end(vertices)),
for (unsigned int j=0; j<8; ++j)
cells[i].vertices[j] = cell_vertices[i][j];
cells[i].material_id = 0;
- };
+ }
tria.create_triangulation (
std::vector<Point<3> >(std::begin(vertices), std::end(vertices)),
vertices_2d[i] = Point<2>( std::cos(2*pi * i/N_r),
std::sin(2*pi * i/N_r)) * outer_radius;
vertices_2d[i+N_r] = vertices_2d[i] * (inner_radius/outer_radius);
- };
+ }
std::vector<Point<3> > vertices_3d;
vertices_3d.reserve (2*N_r*(N_z+1));