ENH: adjustments to searchable surfaces

- code reduction, documentation, code stubs for spheroid (#1901)

- make searchableSurfaceCollection available as 'collection'
  for consistency with other objects
This commit is contained in:
Mark Olesen
2020-10-15 09:25:51 +02:00
parent f999013f41
commit 4258f8059f
26 changed files with 744 additions and 230 deletions

View File

@ -44,7 +44,7 @@ geometry
twoFridgeFreezers
{
type searchableSurfaceCollection;
type collection;
mergeSubRegions true;

View File

@ -22,7 +22,7 @@ geometry
{
cylinder
{
type searchableCylinder;
type cylinder;
point1 (0 0 -0.00375);
point2 (0 0 0.00375);
radius 0.06;

View File

@ -1083,7 +1083,7 @@ boundary
/* optional
surface
{
type searchableCylinder; // none
type cylinder; // none
point1 (0 0 -1);
point2 (0 0 1);
radius 0.5;
@ -1111,7 +1111,7 @@ boundary
/* optional
surface
{
type searchableCylinder; // none
type cylinder; // none
point1 (0 0 -1);
point2 (0 0 1);
radius 0.5;

View File

@ -30,21 +30,21 @@ geometry
{
igloo
{
type searchableSphere;
type sphere;
origin (3 3 0);
radius 4;
}
box1
{
type searchableBox;
min (0 0 0);
max (1 1 1);
type box;
min (0 0 0);
max (1 1 1);
}
twoFridgeFreezers
{
type searchableSurfaceCollection;
type collection;
mergeSubRegions true;
@ -87,13 +87,13 @@ geometry
// For directional refinement
dirRefineBox1
{
type searchableBox;
type box;
min (-10 -10 -10);
max ( 10 10 0.5);
}
dirRefineBox2
{
type searchableBox;
type box;
min (-10 -10 -10);
max ( 10 10 0.25);
}

View File

@ -43,7 +43,7 @@ geometry
refinementBox
{
type searchableBox;
type box;
min (-1.0 -0.7 0.0);
max ( 8.0 0.7 2.5);
}

View File

@ -40,7 +40,7 @@ geometry
}
all
{
type searchableBox;
type box;
min (-1000 -1000 -1000);
max (1000 1000 1000);
}