Diffpack Documentation


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

SubGridFE Class Reference

extraction of a finite element subgrid. More...

#include <SubGridFE.h>

Inheritance diagram for SubGridFE::

HandleId List of all members.

Public Methods

 SubGridFE ()
 ~SubGridFE ()
virtual void makeSubgrid (const GridFE &global_grid, int material_no, bool preserve_nodal_numbering=true)
virtual void makeSubgrid (const GridFE &global_grid, const VecSimple(int) &material_no, bool preserve_nodal_numbering=true)
GridFEgetSubgrid ()
const GridFEgetSubgrid () const

Protected Attributes

Handle(GridFEglobal_grid
Handle(GridFEsubgrid
VecSimple(int) elm_sub2glob
VecSimple(int) elm_glob2sub
VecSimple(int) node_sub2glob
VecSimple(int) node_glob2sub
int material
VecSimple(int) materials

Friends

class  FieldFEGlobalView
class  FieldsFEGlobalView

Detailed Description

extraction of a finite element subgrid.

NAME: SubGridFE - extraction of a finite element subgrid

DESCRIPTION:

This class allows automated extraction of a part of an existing finite element grid (in terms of a "GridFE" object), resulting in a new "GridFE" that is ready to use. Only elements marked with the selected material types will be extracted from the large grid. Boundary indicators will be inherited from the large grid, and new indicators will be created on basis of the interfaces between neighboring elements with different material types.

The class maintains a handle to the original grid as well as the new subgrid.


Constructor & Destructor Documentation

SubGridFE::SubGridFE ( ) [inline]
 

The only constructor takes no arguments. Initialization is done by a call to "makeSubGrid".

BASIC FUNCTIONALITY:

See the description above as well as the individual member functions.

SubGridFE::~SubGridFE ( ) [inline]
 


Member Function Documentation

const GridFE & SubGridFE::getSubgrid ( ) const [inline]
 

See documentation of one of the overloaded functions.

GridFE & SubGridFE::getSubgrid ( ) [inline]
 

provides access to the created subgrid in term of a fully operative "GridFE" object. The use of this function assumes that "makeSubGrid" has already been called.

void SubGridFE::makeSubgrid ( const GridFE & global_grid,
const VecSimple(int) & material_no,
bool preserve_nodal_numbering = true ) [virtual]
 

See documentation of one of the overloaded functions.

void SubGridFE::makeSubgrid ( const GridFE & global_grid,
int material_no,
bool preserve_nodal_numbering = true ) [virtual]
 

accepts an existing "GridFE" object as input, together with one or several material types (numbers). All elements in the original grid marked with one of the selected material types are included in a new "GridFE" object, the subgrid. Boundary indicators are inherited from the original grid, and new indicators for the subgrid are created on basis of material interfaces. Depending on the flag "preserve_nodal_numbering", the nodes of the newly created subgrid will be numbered in the same sequence as the nodes of the original grid.


Friends And Related Function Documentation

class FieldFEGlobalView [friend]
 

class FieldsFEGlobalView [friend]
 


Member Data Documentation

VecSimple(int) SubGridFE::elm_glob2sub [protected]
 

VecSimple(int) SubGridFE::elm_sub2glob [protected]
 

Handle(GridFE) SubGridFE::global_grid [protected]
 

int SubGridFE::material [protected]
 

VecSimple(int) SubGridFE::materials [protected]
 

VecSimple(int) SubGridFE::node_glob2sub [protected]
 

VecSimple(int) SubGridFE::node_sub2glob [protected]
 

Handle(GridFE) SubGridFE::subgrid [protected]
 


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