|
IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
2D structured mesh. Type used for co-ordinates and vectors is vec2. More...
Inheritance diagram for IG::Num::UnStructuredMesh2d:
Collaboration diagram for IG::Num::UnStructuredMesh2d:Public Member Functions | |
| UnStructuredMesh2d () | |
| Constructs a new empty 2D mesh (no elements contained) with no name and no description. | |
| UnStructuredMesh2d (int dim1, int dim2) | |
| Constructs a new 2D field with the specified dimensions, name and description. Table of elements is allocated. Elements of the field are arranged in a 2D structured grid. | |
| UnStructuredMesh2d (int dim1, int dim2, string fieldName) | |
| Constructs a new 2D field with the specified dimensions, name and description. Table of elements is allocated. Elements of the field are arranged in a 2D structured grid. | |
| UnStructuredMesh2d (int dim1, int dim2, string fieldName, string fieldDescription) | |
| Constructs a new 2D field with the specified dimensions, name and description. Table of elements is allocated. Elements of the field are arranged in a 2D structured grid. | |
| UnStructuredMesh2d (int dimx, int dimy, string fieldName, string fieldDescription, double minx, double maxx, double miny, double maxy) | |
| Constructs a 2D regular grid with grid directions parallel to coordinate axes, with specified name and description. Array of elements is allocated. | |
| UnStructuredMesh2d (int dimx, int dimy, string fieldName, string fieldDescription, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy, IFunc2d fz) | |
| Constructs a 2D structured grid by transformation of co-ordinates of a regular equidistant grid in XY plane. Array of elements is allocated. | |
| void | GenerateCoordinates (double minxRef, double maxxRef, double minyRef, double maxyRef) |
| Generates coordinates of a 2D regular grid with grid directions parallel to coordinate axes and equidistant nodes in all directions. | |
| void | GenerateCoordinates (double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy) |
| Generates coordinates of the structured 2D mesh by mapping a reference mesh with equidistant nodes and mesh directions parallel to the coordinate axes. Coordinates are obtained by transforming individual coordinates of a regular equidistant grid from the reference system. | |
| IG::Num::UnStructuredMesh2d::UnStructuredMesh2d | ( | ) | [inline] |
Constructs a new empty 2D mesh (no elements contained) with no name and no description.
| IG::Num::UnStructuredMesh2d::UnStructuredMesh2d | ( | int | dim1, |
| int | dim2 | ||
| ) | [inline] |
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is allocated. Elements of the field are arranged in a 2D structured grid.
| dim1 | First dimension of the field (number of grid nodes in the first direction). |
| dim2 | First dimension of the field (number of grid nodes in the first direction). |
| IG::Num::UnStructuredMesh2d::UnStructuredMesh2d | ( | int | dim1, |
| int | dim2, | ||
| string | fieldName | ||
| ) | [inline] |
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is allocated. Elements of the field are arranged in a 2D structured grid.
| dim1 | First dimension of the field (number of grid nodes in the first direction). |
| dim2 | First dimension of the field (number of grid nodes in the first direction). |
| fieldName | Name of the field. |
| IG::Num::UnStructuredMesh2d::UnStructuredMesh2d | ( | int | dim1, |
| int | dim2, | ||
| string | fieldName, | ||
| string | fieldDescription | ||
| ) | [inline] |
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is allocated. Elements of the field are arranged in a 2D structured grid.
| dim1 | First dimension of the field (number of grid nodes in the first direction). |
| dim2 | First dimension of the field (number of grid nodes in the first direction). |
| fieldName | Name of the field. |
| fieldDescription | Field description. |
| IG::Num::UnStructuredMesh2d::UnStructuredMesh2d | ( | int | dimx, |
| int | dimy, | ||
| string | fieldName, | ||
| string | fieldDescription, | ||
| double | minx, | ||
| double | maxx, | ||
| double | miny, | ||
| double | maxy | ||
| ) | [inline] |
Constructs a 2D regular grid with grid directions parallel to coordinate axes, with specified name and description. Array of elements is allocated.
| dimx | First dimension of the field (number of grid nodes in the first direction). |
| dimy | Second dimension of the field. |
| fieldName | Name of the field. |
| fieldDescription | Field description. |
| minx | Minimal value of x coordinate of the generated grid. |
| maxx | Maximal value of x coordinate of the generated grid. |
| miny | Minimal value of y coordinate of the generated grid. |
| maxy | Maximal value of y coordinate of the generated grid. |
| IG::Num::UnStructuredMesh2d::UnStructuredMesh2d | ( | int | dimx, |
| int | dimy, | ||
| string | fieldName, | ||
| string | fieldDescription, | ||
| double | minxRef, | ||
| double | maxxRef, | ||
| double | minyRef, | ||
| double | maxyRef, | ||
| IFunc2d | fx, | ||
| IFunc2d | fy, | ||
| IFunc2d | fz | ||
| ) | [inline] |
Constructs a 2D structured grid by transformation of co-ordinates of a regular equidistant grid in XY plane. Array of elements is allocated.
| dimx | First dimension of the field (number of grid nodes in the first direction). |
| dimy | Second dimension of the field. |
| fieldName | Name of the field. |
| fieldDescription | Field description. |
| minxRef | Minimal value of x coordinate of the generated grid. |
| maxxRef | Maximal value of x coordinate of the generated grid. |
| minyRef | Minimal value of y coordinate of the generated grid. |
| maxyRef | Maximal value of y coordinate of the generated grid. |
| fx | Function that maps first two node coordinates of the reference grid to the first node coordinates of the actual grid. |
| fy | Function that maps first two node coordinates of the reference grid to the second node coordinates of the actual grid. |
| fz | Function that maps first two node coordinates of the reference grid to the third node coordinates of the actual grid. |
| void IG::Num::UnStructuredMesh2d::GenerateCoordinates | ( | double | minxRef, |
| double | maxxRef, | ||
| double | minyRef, | ||
| double | maxyRef | ||
| ) | [inline] |
Generates coordinates of a 2D regular grid with grid directions parallel to coordinate axes and equidistant nodes in all directions.
| minxRef | Minimal value of x coordinate of the generated grid. |
| maxxRef | Maximal value of x coordinate of the generated grid. |
| minyRef | Minimal value of y coordinate of the generated grid. |
| maxyRef | Maximal value of y coordinate of the generated grid. |
| void IG::Num::UnStructuredMesh2d::GenerateCoordinates | ( | double | minxRef, |
| double | maxxRef, | ||
| double | minyRef, | ||
| double | maxyRef, | ||
| IFunc2d | fx, | ||
| IFunc2d | fy | ||
| ) | [inline] |
Generates coordinates of the structured 2D mesh by mapping a reference mesh with equidistant nodes and mesh directions parallel to the coordinate axes. Coordinates are obtained by transforming individual coordinates of a regular equidistant grid from the reference system.
| minxRef | Lower bound for the first parameter in the reference coordinate system. |
| maxxRef | Upper bound for the first parameter in the reference coordinate system. |
| minyRef | Lower bound for the second parameter in the reference coordinate system. |
| maxyRef | Upper bound for the second parameter in the reference coordinate system. |
| fx | Function that maps first two node coordinates of the reference grid to the first node coordinates of the actual grid. |
| fy | Function that maps first two node coordinates of the reference grid to the second node coordinates of the actual grid. |