Diffpack Documentation
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Search
PreproStdGeom Class Reference
mesh generator for common geometries; box, disk, triangle etc.
More...
#include <PreproStdGeom.h>
Inheritance diagram for PreproStdGeom::
List of all members.
Public Types |
| enum | Geometry_type {
BOX = 1,
BOX_WITH_BOX_HOLE,
BOX_WITH_ELLIPTIC_HOLE,
BOXT,
TRIANGLE,
DISK,
DISK_WITH_HOLE,
SPHERE_WITH_HOLE,
CYLINDER,
BOX_WITH_BELL,
ELLIPSE_WITH_ELLIPTIC_HOLE
} |
Public Methods |
| virtual const Geometry& | geometry () const |
| virtual Geometry& | geometry () |
| virtual const Partition& | partition () const |
| virtual Partition& | partition () |
| virtual bool | ok () const |
| virtual void | generateMesh (Grid &grid) |
| virtual void | define (MenuSystem &menu, int level=MAIN) |
| virtual void | scan (MenuSystem &menu) |
Static Public Methods |
| void | defineStatic (MenuSystem &menu, int level=MAIN) |
Public Attributes |
| Geometry_type | geometry_tp |
Protected Methods |
| void | classify (String &geom) |
| void | box (const String &preprocessor) |
| void | boxT (const String &preprocessor) |
| void | triangle (const String &preprocessor) |
| void | disk (const String &preprocessor) |
| void | boxWithBoxHole (const String &preprocessor) |
| void | boxWithEllipticHole (const String &preprocessor) |
| void | diskWithHole (const String &preprocessor) |
| void | sphereWithHole (const String &preprocessor) |
| void | cylinder (const String &preprocessor) |
| void | boxWithBell (const String &preprocessor) |
| void | ellipseWithEllipticHole (const String &preprocessor) |
Protected Attributes |
| GeometryStdGeom | geom |
| PartitionStdGeom | part |
| Handle(GridFE) | fe_grid |
Detailed Description
mesh generator for common geometries; box, disk, triangle etc.
NAME: PreproStdGeom - mesh generator for common geometries; box, disk, triangle etc
DESCRIPTION:
Class "PreproStdGeom" is a simplified interface to Diffpack's preprocessor utilities. With simple and compact commands, "PreproStdGeom" can generate finite element grids over some common geometries, like boxes, triangles, disks, boxes and disks with holes, etc. Class "PreproStdGeom" is mainly aimed at education and academic test problems for PDEs. More complicated geometries must be generated by the other preprocessor classes ("PreproSupElSet" and "PreproGeomPack"), or by use of external software.
Member Enumeration Documentation
|
enum PreproStdGeom::Geometry_type
|
|
|
|
-
Enumeration values:
-
| BOX
|
|
| BOX_WITH_BOX_HOLE
|
|
| BOX_WITH_ELLIPTIC_HOLE
|
|
| BOXT
|
|
| TRIANGLE
|
|
| DISK
|
|
| DISK_WITH_HOLE
|
|
| SPHERE_WITH_HOLE
|
|
| CYLINDER
|
|
| BOX_WITH_BELL
|
|
| ELLIPSE_WITH_ELLIPTIC_HOLE
|
|
|
Member Function Documentation
|
void PreproStdGeom::box (
|
const String & preprocessor ) [protected]
|
|
|
void PreproStdGeom::boxT (
|
const String & preprocessor ) [protected]
|
|
|
void PreproStdGeom::boxWithBell (
|
const String & preprocessor ) [protected]
|
|
|
void PreproStdGeom::boxWithBoxHole (
|
const String & preprocessor ) [protected]
|
|
|
void PreproStdGeom::boxWithEllipticHole (
|
const String & preprocessor ) [protected]
|
|
|
void PreproStdGeom::classify (
|
String & geom ) [protected]
|
|
|
void PreproStdGeom::cylinder (
|
const String & preprocessor ) [protected]
|
|
|
void PreproStdGeom::define (
|
MenuSystem & menu,
|
|
int level = MAIN ) [inline, virtual]
|
|
|
void PreproStdGeom::defineStatic (
|
MenuSystem & menu,
|
|
int level = MAIN ) [static]
|
|
|
void PreproStdGeom::disk (
|
const String & preprocessor ) [protected]
|
|
|
void PreproStdGeom::diskWithHole (
|
const String & preprocessor ) [protected]
|
|
|
void PreproStdGeom::ellipseWithEllipticHole (
|
const String & preprocessor ) [protected]
|
|
|
void PreproStdGeom::generateMesh (
|
Grid & grid ) [virtual]
|
|
|
|
generates the finite element mesh.
Reimplemented from Prepro. |
|
Geometry & PreproStdGeom::geometry (
|
) [inline, virtual]
|
|
|
|
See documentation of one of the overloaded functions.
Reimplemented from Prepro. |
|
const Geometry & PreproStdGeom::geometry (
|
) const [inline, virtual]
|
|
|
|
gives access to a geometry class. Used for scanning geometry input.
Reimplemented from Prepro. |
|
bool PreproStdGeom::ok (
|
) const [virtual]
|
|
|
Partition & PreproStdGeom::partition (
|
) [inline, virtual]
|
|
|
|
See documentation of one of the overloaded functions.
Reimplemented from Prepro. |
|
const Partition & PreproStdGeom::partition (
|
) const [inline, virtual]
|
|
|
|
gives access to a partition class. Used for scanning partition input.
Reimplemented from Prepro. |
|
void PreproStdGeom::scan (
|
MenuSystem & menu ) [virtual]
|
|
|
void PreproStdGeom::sphereWithHole (
|
const String & preprocessor ) [protected]
|
|
|
void PreproStdGeom::triangle (
|
const String & preprocessor ) [protected]
|
|
Member Data Documentation
GeometryStdGeom PreproStdGeom::geom [protected]
|
|
PartitionStdGeom PreproStdGeom::part [protected]
|
|
The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.