STYLE: code cleanup searchableSurface (issue #929)

- improve doxygen entries for searchable surfaces.

- support selection of searchable surfaces with shorter names.
  Eg,
      type   box | cylinder | ...;
  vs  type   searchableBox | searchableCylinder | ...;
This commit is contained in:
Mark Olesen
2018-07-06 11:03:28 +02:00
parent 1ee5144079
commit d530bc254a
82 changed files with 804 additions and 700 deletions

View File

@ -23,7 +23,7 @@ addLayers true;
// Geometry. Definition of all surfaces. All surfaces are of class
// searchableSurface.
geometry
{};
{}

View File

@ -35,12 +35,11 @@ geometry
}
wake
{
type searchableBox;
min (0.8 -0.1 -0.1);
max (2.0 0.1 0.1);
type box;
min (0.8 -0.1 -0.1);
max (2.0 0.1 0.1);
}
};
}
// Settings for the castellatedMesh generation.

View File

@ -38,12 +38,11 @@ geometry
//- Refine a bit extra around the small centre hole
refineHole
{
type searchableSphere;
centre (0 0 -0.012);
radius 0.003;
type sphere;
centre (0 0 -0.012);
radius 0.003;
}
};
}
// Settings for the castellatedMesh generation.

View File

@ -34,13 +34,11 @@ geometry
}
all
{
type searchableBox;
min (-1000 -1000 -1000);
max (1000 1000 1000);
type box;
min (-1000 -1000 -1000);
max (1000 1000 1000);
}
};
}
// Settings for the castellatedMesh generation.