Skip to content
Snippets Groups Projects
Commit d0896dd8 authored by Oliver Sander's avatar Oliver Sander
Browse files

Compliance with naming rules: createbegin()/createend() are now called

createBegin()/createEnd(), respectively.

The method insertBoundarySegment now expects a std::vector of
_unsigned_ ints.

[[Imported from SVN: r4186]]
parent 3051c27e
No related branches found
No related tags found
No related merge requests found
......@@ -428,17 +428,17 @@ namespace Dune {
/** \brief Start the coarse grid creation process
\todo This method should delete the grid!
*/
void createbegin();
void createBegin();
/** \brief End the coarse grid creation process */
void createend();
void createEnd();
/** \brief Method to insert an arbitrarily shaped boundary segment into a coarse grid
\param vertices The indices of the vertices of the segment
\param boundarySegment Class implementing the geometry of the boundary segment.
The grid object takes control of this object and deallocates it when destructing itself.
*/
void insertBoundarySegment(const std::vector<int> vertices,
void insertBoundarySegment(const std::vector<unsigned int> vertices,
const BoundarySegment<dimworld>* boundarySegment);
/** \brief Insert a vertex into the coarse grid */
......
......@@ -780,7 +780,7 @@ void Dune::UGGrid < dim, dimworld >::communicate (T& t, InterfaceType iftype, Co
template < int dim, int dimworld >
void Dune::UGGrid < dim, dimworld >::createbegin()
void Dune::UGGrid < dim, dimworld >::createBegin()
{
// //////////////////////////////////////////////////////////
// Clear all buffers used during coarse grid creation
......@@ -794,7 +794,7 @@ void Dune::UGGrid < dim, dimworld >::createbegin()
template < int dim, int dimworld >
void Dune::UGGrid < dim, dimworld >::createend()
void Dune::UGGrid < dim, dimworld >::createEnd()
{
// ///////////////////////////////////////////
......@@ -1103,7 +1103,7 @@ insertLinearSegment(const std::vector<int>& vertices,
}
template <int dim, int dimworld>
void Dune::UGGrid<dim, dimworld>::insertBoundarySegment(const std::vector<int> vertices,
void Dune::UGGrid<dim, dimworld>::insertBoundarySegment(const std::vector<unsigned int> vertices,
const BoundarySegment<dimworld>* boundarySegment)
{
FixedArray<unsigned int, dim*2-2> segmentVertices = -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment