Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Simple_manifold_2.C File Reference
#include "Simple_manifold_2.h"
#include "Dual_connectivity.h"
#include <iterator>
Include dependency graph for Simple_manifold_2.C:

Go to the source code of this file.

Macros

#define SIZE_OF_ELMTS(prefix, name, nedges)
 
#define SIZE_OF_EDGES(prefix, name, multiple)
 

Functions

 SIZE_OF_ELMTS (size_of_, triangles, 3)
 
 SIZE_OF_ELMTS (size_of_real_, triangles, 3)
 
 SIZE_OF_ELMTS (size_of_ghost_, triangles, 3)
 
 SIZE_OF_ELMTS (maxsize_of_, triangles, 3)
 
 SIZE_OF_ELMTS (maxsize_of_real_, triangles, 3)
 
 SIZE_OF_ELMTS (maxsize_of_ghost_, triangles, 3)
 
 SIZE_OF_ELMTS (size_of_, quadrilaterals, 4)
 
 SIZE_OF_ELMTS (size_of_real_, quadrilaterals, 4)
 
 SIZE_OF_ELMTS (size_of_ghost_, quadrilaterals, 4)
 
 SIZE_OF_ELMTS (maxsize_of_, quadrilaterals, 4)
 
 SIZE_OF_ELMTS (maxsize_of_real_, quadrilaterals, 4)
 
 SIZE_OF_ELMTS (maxsize_of_ghost_, quadrilaterals, 4)
 
 SIZE_OF_EDGES (size_of_, halfedges, 1)
 
 SIZE_OF_EDGES (size_of_real_, halfedges, 1)
 
 SIZE_OF_EDGES (size_of_ghost_, halfedges, 1)
 
 SIZE_OF_EDGES (size_of_, edges, 2)
 
 SIZE_OF_EDGES (size_of_real_, edges, 2)
 
 SIZE_OF_EDGES (size_of_ghost_, edges, 2)
 

Macro Definition Documentation

#define SIZE_OF_EDGES (   prefix,
  name,
  multiple 
)
Value:
int Simple_manifold_2::prefix##name() const { \
int n=prefix##border_edges(); \
std::vector<const COM::Connectivity*>::const_iterator it=_elem_conns.begin(); \
for ( ; it != _elem_conns.end(); ++it) { \
n += (*it)->prefix##items()*(*it)->size_of_edges_pe(); \
} \
return n/=multiple; \
}
const NT & n
for(;;)

Definition at line 476 of file Simple_manifold_2.C.

#define SIZE_OF_ELMTS (   prefix,
  name,
  nedges 
)
Value:
int Simple_manifold_2:: prefix##name() const { \
int n=0; \
std::vector<const COM::Connectivity*>::const_iterator it=_elem_conns.begin(); \
for ( ; it != _elem_conns.end(); ++it) { \
if ( (*it)->size_of_edges_pe()==nedges) \
n += (*it)-> prefix##items(); \
} \
return n; \
}
if(dy > dx)
const NT & n
for(;;)

Definition at line 449 of file Simple_manifold_2.C.

Function Documentation

SIZE_OF_EDGES ( size_of_  ,
halfedges  ,
 
)
SIZE_OF_EDGES ( size_of_real_  ,
halfedges  ,
 
)
SIZE_OF_EDGES ( size_of_ghost_  ,
halfedges  ,
 
)
SIZE_OF_EDGES ( size_of_  ,
edges  ,
 
)
SIZE_OF_EDGES ( size_of_real_  ,
edges  ,
 
)
SIZE_OF_EDGES ( size_of_ghost_  ,
edges  ,
 
)
SIZE_OF_ELMTS ( size_of_  ,
triangles  ,
 
)
SIZE_OF_ELMTS ( size_of_real_  ,
triangles  ,
 
)
SIZE_OF_ELMTS ( size_of_ghost_  ,
triangles  ,
 
)
SIZE_OF_ELMTS ( maxsize_of_  ,
triangles  ,
 
)
SIZE_OF_ELMTS ( maxsize_of_real_  ,
triangles  ,
 
)
SIZE_OF_ELMTS ( maxsize_of_ghost_  ,
triangles  ,
 
)
SIZE_OF_ELMTS ( size_of_  ,
quadrilaterals  ,
 
)
SIZE_OF_ELMTS ( size_of_real_  ,
quadrilaterals  ,
 
)
SIZE_OF_ELMTS ( size_of_ghost_  ,
quadrilaterals  ,
 
)
SIZE_OF_ELMTS ( maxsize_of_  ,
quadrilaterals  ,
 
)
SIZE_OF_ELMTS ( maxsize_of_real_  ,
quadrilaterals  ,
 
)
SIZE_OF_ELMTS ( maxsize_of_ghost_  ,
quadrilaterals  ,
 
)