Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

PreproSupElSet Class Reference

Finite element grid generator based on super elements. More...

#include <PreproSupElSet.h>

Inheritance diagram for PreproSupElSet::

Prepro HandleId List of all members.

Public Methods

 PreproSupElSet ()
 PreproSupElSet (GeometrySupElSet &geom, PartitionSupElSet &part)
virtual const Geometrygeometry () const
virtual Geometrygeometry ()
virtual const Partitionpartition () const
virtual Partitionpartition ()
const GeometrySupElSetgeometrySupElSet () const
GeometrySupElSetgeometrySupElSet ()
const PartitionSupElSetpartitionSupElSet () const
PartitionSupElSetpartitionSupElSet ()
virtual void define (MenuSystem &menu, int level=MAIN)
virtual void scan (MenuSystem &menu)
 COPY_CONSTRUCTOR (PreproSupElSet) ASSIGNMENT_OPERATOR(PreproSupElSet) virtual~PreproSupElSet()
virtual bool ok () const
virtual void generateMesh (Grid &grid)
void generateSupElSetMesh (GeometrySupElSet &geom, GridFE &grid)

Static Public Methods

void defineStatic (MenuSystem &menu, int level=MAIN)
void writeGridInSupelFormat (GridFE &grid, const String &gridfilename)

Detailed Description

Finite element grid generator based on super elements.

NAME:PreproSupElSet - Finite element grid generator based on super elements

DESCRIPTION:

For a geometry described as a set of super elements in class "GeometrySupElSet", with a description of partitions for the super elements in class "PartitionSupElSet", a grid of class "GridFE" is constructed. For all super elements in the geometry the preprocessor calls the preprocessor of class "preprocessorSupEl". The generated grid are connected in a large grid of class "GridFE". Nodes set on boundary in description of geometry are given largest nodenumbers. Boundary indicator names and material numbers are set in the grid, and nodes used in more than one super element is described only once.

The preprocessor generates grid with element types "ElmB4n2D", "ElmB8n2D", "ElmB9n2D", "ElmT3n2D", "ElmT6n2D", "ElmB8n3D", "ElmB20n3D", "ElmB27n3D". See class "PartitionSupEl" and class "ElmDef".

For geometry description see class "GeometrySupEl" and class "GeometrySupElSet".


Constructor & Destructor Documentation

PreproSupElSet::PreproSupElSet ( )
 

The constructor is empty, no data is stored in the class.

PreproSupElSet::PreproSupElSet ( GeometrySupElSet & geom,
PartitionSupElSet & part )
 

See documentation of one of the overloaded constructor.


Member Function Documentation

PreproSupElSet::COPY_CONSTRUCTOR ( PreproSupElSet ) [inline]
 

void PreproSupElSet::define ( MenuSystem & menu,
int level = MAIN ) [inline, virtual]
 

Reimplemented from Prepro.

void PreproSupElSet::defineStatic ( MenuSystem & menu,
int level = MAIN ) [static]
 

void PreproSupElSet::generateMesh ( Grid & grid ) [virtual]
 

makes a grid of consisting of super elements. Tthis is a virtual function declared in class "Prepro".

Reimplemented from Prepro.

void PreproSupElSet::generateSupElSetMesh ( GeometrySupElSet & geom,
GridFE & grid )
 

generates grid with 1 or 4 elements for each super element. Done by setting up a minimal PartitionSupElSet, and calling "generateMesh()".

Geometry & PreproSupElSet::geometry ( ) [inline, virtual]
 

Reimplemented from Prepro.

const Geometry & PreproSupElSet::geometry ( ) const [inline, virtual]
 

Reimplemented from Prepro.

GeometrySupElSet & PreproSupElSet::geometrySupElSet ( ) [inline]
 

const GeometrySupElSet & PreproSupElSet::geometrySupElSet ( ) const [inline]
 

bool PreproSupElSet::ok ( ) const [virtual]
 

Reimplemented from Prepro.

Partition & PreproSupElSet::partition ( ) [inline, virtual]
 

Reimplemented from Prepro.

const Partition & PreproSupElSet::partition ( ) const [inline, virtual]
 

Reimplemented from Prepro.

PartitionSupElSet & PreproSupElSet::partitionSupElSet ( ) [inline]
 

const PartitionSupElSet & PreproSupElSet::partitionSupElSet ( ) const [inline]
 

void PreproSupElSet::scan ( MenuSystem & menu ) [virtual]
 

Reimplemented from Prepro.

static void PreproSupElSet::writeGridInSupelFormat ( GridFE & grid,
const String & gridfilename ) [static]
 

given an existing grid, the function interprets the elements in the grid as super elements and writes associated geometry and partition files. The stem of the filenames is given by the argument "gridfilename". This function is convenient if one applies, e.g., transfinite mappings to generate a coarse super element grid, and then wants to experiment with the resulting super elements. The function can also be used for generating sample geometry and partition files with correct syntax (then only the number of elements in "grid" need to be relevant). NOTE: The function can only handle second order two-dimensional elements in "grid". Hence, if you want to make geometry and partition files out of an existing 3D grid, you need to copy "PreproSupElSet.cpp" to your application directory and extend the present function (that is straightforward).


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.