added function addtetra

This commit is contained in:
Nico Pietroni 2004-05-31 16:01:56 +00:00
parent 0a17f44c43
commit f682054c6d
1 changed files with 15 additions and 0 deletions

View File

@ -24,6 +24,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.2 2004/05/14 15:14:34 turini
Added $Log: not supported by cvs2svn $ for CVS History Log
Revision 1.1 2004/19/04 13:05 pietroni
Initial commit
@ -199,6 +202,18 @@ struct InsertedVT{
}
};
/** Function to add n tetrafedron to the mesh.
@param n number of vertices we want to add.
*/
TetraIterator AddTetra(TetraMeshType &m,int n)
{
TetraIterator last=m.tetra.end();
for (int i=0;i<n;i++)
m.tetra.push_back(TetraType());
return (last);
}
/** Crate a copy of the mesh with tetrahedron that are into the templated container
@param ST_CONT (Template Parameter) Specifies the type of the container of tetrahedron.
@param subSet Container of tetrahedron.