#include <GridFilterCore.h>
Inheritance diagram for GridFilterCore::

Public Types | |
| enum | type { s_int, s_real, s_String, s_empty, s_unknown } |
Public Methods | |
| GridFilterCore () | |
| virtual | ~GridFilterCore () |
| virtual void | import2dp (const String &import_file_name, GridFE &grid_, const String &log_file_name, const String &bo_ind_file_name, bool make_logfile=false) |
Protected Methods | |
| void | rebindFile () |
| virtual void | beforeRedim ()=0 |
| void | setImportName (const String &import_name) |
| void | setNoBoInd (int i) |
| void | setNoMaterials (int i) |
| void | newBoInd (const String &label, int &nbind) |
| void | growNoNodes (int import_node_number) |
| void | growNoElms (int import_element_number) |
| void | setElmTypeIfNew (String &import_elm_name, String &dp_elm_name, int nne_, int nsd_) |
| virtual void | afterRedim ()=0 |
| int | getNoSpaceDim () const |
| int | getNoNodes () const |
| int | getNoElms () const |
| int | getNoBoInd () const |
| int | getNoElmTypes () const |
| int | getNoNodesInElms () const |
| int | getMaxNoNodesInElms () const |
| int | getNoMaterials () const |
| void | setCoords (int import_node_number, real x, real y=0, real z=0) |
| void | newLabel (String &label, const real value1=0, const real value2=0, const real value3=0, const real value4=0) |
| void | setBoIndN (const String &label, int nbind, int node_number) |
| void | setBoIndE (const String &label, int nbind, int element_number) |
| void | setBoIndToAllNodesInElm (int nbind, int element_number) |
| bool | contains (const String &name, bool from_start_of_line=false) |
| void | checkFormat (const String &name) |
| void | tuneNumData (String &buf) |
| int | numberOf (const String &name, const String &line) |
| GridFilterCore :: type | stringType (String name) |
| void | split (VecSimple(String) &tokens, String line, int split_size) |
| void | split (VecSimple(String) &tokens, String line, const char split_char) |
Protected Attributes | |
| VecSimple(int) | dp_node |
| VecSimple(int) | dp_element |
| VecSimple(String) | bo_ind |
| Is | importfile |
| Handle(GridFE) | grid |
NAME: GridFilterCore - grid filter core
DESCRIPTION:
The class is the base class for the translation from different analysis programms to a finite element grid. It creates a "GridFE" object based on data from different analysis programms.
|
|
|
|
|
The class has an empty constructor. |
|
|
|
|
|
this function must be implemented by all sub classes. It is called by this class after the redim function. |
|
|
this function must be implemented by all sub classes. It is called by this class before the redim function. |
|
|
this function will print an error if the current line in the importfile do not contain "name". |
|
|
returns true if next line in the importfile contains "name". |
|
|
get the maximum number of nodes in an element. |
|
|
get the number of boundary indicators in the grid. |
|
|
get the number of elements types in the grid. |
|
|
get the number of elements in the grid. |
|
|
get number of material types in the grid. |
|
|
get the number of nodes in the grid. |
|
|
get the number of nodes in an element. |
|
|
get the number of space dimensions in the grid. |
|
|
this function sets number of elements and fills the dp_element array. Use this function for every element. |
|
|
this function sets number of nodes and fills the dp_node array. Use this function for every node. |
|
|
this is the main function for the translation from different analysis programms to a finite element grid (GridFE). |
|
|
set "name" in the boInd array, if boInd do not contain "name". |
|
|
swicths the default "label" with the new "label" in the boundary indicators file. |
|
|
returns number of "name" in the text string "line". |
|
|
rebind importfile. Use this function if you need to read the importfile more than ones. |
|
|
sets boundary indicator "label" to one element. |
|
|
sets boundary indicator "label" to one node. |
|
|
set boundary indicator "i" to all nodes in element. |
|
|
sets the one coordinate in the GridFE object. |
|
|
this function sets number of element types. Use this function for every element type. |
|
|
name of the analys program. The logfile uses this name. |
|
|
set the number of boundary indicators in the grid. |
|
|
set number of material types in the grid. |
|
|
See documentation of one of the overloaded functions. |
|
|
splits a String into tokens. |
|
|
returns s_int, s_real, s_String, s_empty or s_unknown, if the String contains an int, real, String, empty or unknown. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|