// and cells for later use
unsigned int n_cells = 0,
n_nodes = 0;
- for (vector<Patch<dim> >::const_iterator patch=patches.begin();
+ for (typename vector<Patch<dim> >::const_iterator patch=patches.begin();
patch!=patches.end(); ++patch)
switch (dim)
{
{
unsigned int present_node = 1;
- for (vector<Patch<dim> >::const_iterator patch=patches.begin();
+ for (typename vector<Patch<dim> >::const_iterator patch=patches.begin();
patch!=patches.end(); ++patch)
{
const unsigned int n_subdivisions = patch->n_subdivisions;
unsigned int present_cell = 1;
unsigned int first_vertex_of_patch = 0;
- for (vector<Patch<dim> >::const_iterator patch=patches.begin();
+ for (typename vector<Patch<dim> >::const_iterator patch=patches.begin();
patch!=patches.end(); ++patch)
{
const unsigned int n_subdivisions = patch->n_subdivisions;
// note that since dim==2, we
// have exactly four vertices per
// patch and per cell
- for (vector<Patch<dim> >::const_iterator patch=patches.begin();
+ for (typename vector<Patch<dim> >::const_iterator patch=patches.begin();
patch!=patches.end(); ++patch)
{
const unsigned int n_subdivisions = patch->n_subdivisions;
// and cells for later use
unsigned int n_cells = 0,
n_nodes = 0;
- for (vector<Patch<dim> >::const_iterator patch=patches.begin();
+ for (typename vector<Patch<dim> >::const_iterator patch=patches.begin();
patch!=patches.end(); ++patch)
switch (dim)
{
out << "nodes " << n_nodes << endl;
for (unsigned int d=1; d<=3; ++d)
{
- for (vector<Patch<dim> >::const_iterator patch=patches.begin();
+ for (typename vector<Patch<dim> >::const_iterator patch=patches.begin();
patch!=patches.end(); ++patch)
{
const unsigned int n_subdivisions = patch->n_subdivisions;
out << "cells " << n_cells << endl;
-unsigned int first_vertex_of_patch = 0;
+ unsigned int first_vertex_of_patch = 0;
- for (vector<Patch<dim> >::const_iterator patch=patches.begin();
+ for (typename vector<Patch<dim> >::const_iterator patch=patches.begin();
patch!=patches.end(); ++patch)
{
const unsigned int n_subdivisions = patch->n_subdivisions;