Generic 1D unstructured mesh with collections of named scalar, vector, tensor and index fields.
More...
|
| UnstructuredMesh1d () |
| Constructs a new empty unstructured mesh (no elements contained) with no name and no description. More...
|
|
| UnstructuredMesh1d (int numElements) |
| Creates a new unstructured mesh with the specified number of elements. More...
|
|
| UnstructuredMesh1d (int numElements, string fieldName) |
| Constructs a new unstructured mesh with the specified number of nodes and name. More...
|
|
| UnstructuredMesh1d (int numElements, string fieldName, string fieldDescription) |
| Constructs a new unstructured mesh with the specified number of nodes, name and description. Table of elements is allocated. More...
|
|
TIndexField | GetIndexField (string name) |
| Returns index field with the specified name. More...
|
|
TIndexField | GetIndexField (int index) |
| Returns the index field with the specified index. More...
|
|
virtual TIndexField | CreateIndexField (string fieldName, string fieldDescription) |
| Creates and returns a new index field of dimensions that match dimensions of the current structured mesh, and with specified name and description. More...
|
|
void | AddIndexField (string fieldName, string fieldDescription) |
| Creates a new index field of dimensions that match dimensions of the current 1D structuredmesh, and specified with name and description, and adds it to the current collection. More...
|
|
void | AddIndexField (TIndexField field, string name) |
| Adds the specified index field to the collection of index fields under the specified name. More...
|
|
void | AddIndexField (TIndexField field) |
| Adds the specified index field to the collection of index fields. More...
|
|
void | RemoveIndexField (string fieldName) |
| Removed the field with the specified name from the current field collection. More...
|
|
TScalarField | GetScalarField (string name) |
| Returns scalar field with the specified name. More...
|
|
TScalarField | GetScalarField (int index) |
| Returns the scalar field with the specified index. More...
|
|
virtual TScalarField | CreateScalarField (string fieldName, string fieldDescription) |
| Creates and returns a new scalar field of dimensions that match dimensions of the current structured mesh, and with specified name and description. More...
|
|
TScalarField | AddScalarField (string fieldName, string fieldDescription) |
| Creates and returns a new scalar field of dimensions that match dimensions of the current 1D structuredmesh, and specified with name and description, and adds it to the current collection. More...
|
|
void | AddScalarField (TScalarField field, string name) |
| Adds the specified scalar field to the collection of scalar fields under the specified name. More...
|
|
void | AddScalarField (TScalarField field) |
| Adds the specified scalar field to the collection of scalar fields. More...
|
|
void | RemoveScalarField (string fieldName) |
| Removed the field with the specified name from the current field collection. More...
|
|
TVectorField | GetVectorField (string name) |
| Returns vector field with the specified name. More...
|
|
TVectorField | GetVectorField (int index) |
| Returns the vector field with the specified index. More...
|
|
virtual TVectorField | CreateVectorField (string fieldName, string fieldDescription) |
| Creates and returns a new vector field of dimensions that match dimensions of the current structured mesh, and with specified name and description. More...
|
|
TVectorField | AddVectorField (string fieldName, string fieldDescription) |
| Creates and returns a new vector field of dimensions that match dimensions of the current 1D structuredmesh, and specified with name and description, and adds it to the current collection. More...
|
|
void | AddVectorField (TVectorField field, string name) |
| Adds the specified vector field to the collection of vector fields under the specified name. More...
|
|
void | AddVectorField (TVectorField field) |
| Adds the specified vector field to the collection of vector fields. More...
|
|
void | RemoveVectorField (string fieldName) |
| Removed the field with the specified name from the current field collection. More...
|
|
TTensorField | GetTensorField (string name) |
| Returns tensor field with the specified name. More...
|
|
TTensorField | GetTensorField (int index) |
| Returns the tensor field with the specified index. More...
|
|
virtual TTensorField | CreateTensorField (string fieldName, string fieldDescription) |
| Creates and returns a new tensor field of dimensions that match dimensions of the current structured mesh, and with specified name and description. More...
|
|
TTensorField | AddTensorField (string fieldName, string fieldDescription) |
| Creates a new tensor field of dimensions that match dimensions of the current 1D structuredmesh, and specified with name and description, and adds it to the current collection. More...
|
|
void | AddTensorField (TTensorField field, string name) |
| Adds the specified tensor field to the collection of tensor fields under the specified name. More...
|
|
void | AddTensorField (TTensorField field) |
| Adds the specified tensor field to the collection of tensor fields. More...
|
|
void | RemoveTensorField (string fieldName) |
| Removed the field with the specified name from the current field collection. More...
|
|
| UnstructuredMeshGeometry1d () |
| Constructs a new empty unstructured grid (no elements contained) with no name and no description. More...
|
|
| UnstructuredMeshGeometry1d (int numElements) |
| Creates a new unstructured grid with the specified number of elements. More...
|
|
| UnstructuredMeshGeometry1d (int numElements, string fieldName) |
| Constructs a new unstructured grid with the specified number of elements and name. More...
|
|
| UnstructuredMeshGeometry1d (int numElements, string fieldName, string fieldDescription) |
| Constructs a new unstructured grid with the specified number of elements, name and description. Table of elements is allocated. More...
|
|
| Field () |
| Constructs a new empty field (no elements contained) with no name and no description. More...
|
|
| Field (int numElements) |
| Creates a new field with the specified number of elements. More...
|
|
| Field (int numElements, string fieldName) |
| Constructs a new field with the specified number of elements and name. More...
|
|
| Field (int numElements, string fieldName, string fieldDescription) |
| Constructs a new field with the specified number of elements, name and description. Table of elements is allocated. More...
|
|
virtual void | SetLength (int newLength) |
| Sets the length of the current field to the specified value. More...
|
|
TElement | GetValue (int index) |
| Returns element of the field at the specified index. More...
|
|
void | SetValue (int index, TElement value) |
| Sets the element at the specified index to the specified value. More...
|
|
|
FieldCollection< TIndexField,
TIndex > | IndexFields [get] |
| Gets the collection of index fields of the current mesh. More...
|
|
TIndexField | ActiveIndexField [get, protected set] |
| Gets active index field. Has protected setter. More...
|
|
string | ActiveIndexFieldName [get, set] |
| Gets or sets name of the currently active index field. This determines the currently active index field. More...
|
|
int | NumIndexFields [get] |
| Gets the number of index fields. More...
|
|
FieldCollection< TScalarField,
TScalar > | ScalarFields [get] |
| Gets the collection of scalar fields of the current mesh. More...
|
|
TScalarField | ActiveScalarField [get, protected set] |
| Gets active scalar field. Has protected setter. More...
|
|
string | ActiveScalarFieldName [get, set] |
| Gets or sets name of the currently active scalar field. This determines the currently active scalar field. More...
|
|
int | NumScalarFields [get] |
| Gets the number of scalar fields. More...
|
|
FieldCollection< TVectorField,
TVector > | VectorFields [get] |
| Gets the collection of vector fields of the current mesh. More...
|
|
TVectorField | ActiveVectorField [get, protected set] |
| Gets active vector field. Has protected setter. More...
|
|
string | ActiveVectorFieldName [get, set] |
| Gets or sets name of the currently active vector field. This determines the currently active vector field. More...
|
|
int | NumVectorFields [get] |
| Gets the number of vector fields. More...
|
|
FieldCollection< TTensorField,
TTensor > | TensorFields [get] |
| Gets the collection of tensor fields of the current mesh. More...
|
|
TTensorField | ActiveTensorField [get, protected set] |
| Gets active tensor field. Has protected setter. More...
|
|
string | ActiveTensorFieldName [get, set] |
| Gets or sets name of the currently active tensor field. This determines the currently active tensor field. More...
|
|
int | NumTensorFields [get] |
| Gets the number of tensor fields. More...
|
|
string | Name [get, set] |
| Name of the field. More...
|
|
string | Description [get, set] |
| Description of the field. More...
|
|
virtual TElement[] | Values [get, protected set] |
| Array of field values. More...
|
|
int | Length [get, protected set] |
| Number of elements. More...
|
|
TElement | this[int index] [get, set] |
| Access to elements through element index. More...
|
|
|
static void | UpdateBounds (Field< double > field, IBoundingBox bounds, int componentIndex) |
| Updates the specified component of the specified bounds (object of type IBoundingBox) in such a way that all elements of the specified field will fit within the bounds. More...
|
|
static void | UpdateBounds< TEl > (Field< TEl > field, IBoundingBox bounds) |
| Updates the specified bounds (object of type IBoundingBox) in such a way that all non-null vectors on the specified field will fit within the bounds. More...
|
|
static void | UpdateBounds (Field< vec3 > field, IBoundingBox bounds) |
| Updates the specified bounds (object of type IBoundingBox) in such a way that all 3D vector elements of type vec3 of the specified field will fit within the bounds. More...
|
|
static void | MapCoordinatesPlain (Field< vec3 > referenceField, Field< vec3 > targetField, IFunc3d fx, IFunc3d fy, IFunc3d fz) |
| Generates coordinates of a set of unstructured 3D points (point cloud) from a reference set according to 3 scalar functions of 3 variables that map coordinates of the reference points to components of the mapped points. More...
|
|
static void | MapCoordinates (Field< vec3 > referenceField, Field< vec3 > targetField, IFunc3d fx, IFunc3d fy, IFunc3d fz) |
| Generates coordinates of a set of unstructured points (point cloud) from a reference set according to 3 scalar functions of 3 variables that map coordinates of the reference points to components of the mapped points. More...
|
|
static void | MapCoordinates2dPlain (Field< vec3 > referenceField, Field< vec3 > targetField, IFunc2d fx, IFunc2d fy, IFunc2d fz) |
| Generates coordinates of a set of unstructured 3D points (point cloud) from a reference set according to 3 scalar functions of 2 variables that map coordinates of the reference points to components of the mapped points. Mapping functions act only on the first two coordinates of each point. More...
|
|
static void | MapCoordinates2d (Field< vec3 > referenceField, Field< vec3 > targetField, IFunc2d fx, IFunc2d fy, IFunc2d fz) |
| Generates coordinates of a set of unstructured points (point cloud) from a reference set according to 3 scalar functions of 2 variables that map the first two coordinates of the reference points to components of the mapped points. More...
|
|
static void | MapCoordinates1dPlain (Field< vec3 > referenceField, Field< vec3 > targetField, IRealFunction fx, IRealFunction fy, IRealFunction fz) |
| Generates coordinates of a set of unstructured 3D points (point cloud) from a reference set according to 3 functions of 1 variable that map the first coordinate of the reference points to components of the mapped points. More...
|
|
static void | MapCoordinates1d (Field< vec3 > referenceField, Field< vec3 > targetField, IRealFunction fx, IRealFunction fy, IRealFunction fz) |
| Generates coordinates of a set of unstructured 3D points (point cloud) from a reference set according to 3 functions of 1 variable that map the first coordinate of the reference points to components of the mapped points. More...
|
|
static void | MapCoordinatesToScalarsPlain (Field< vec3 > referenceField, Field< double > targetScalarField, IFunc3d scalarMap) |
| Generates scalar values for a 3D unstructured set fo points from the specified field of grid coordinates by a specified scalar function of 3 variables that maps coordinates to scalar values. More...
|
|
static void | MapCoordinatesToScalars (Field< vec3 > referenceField, Field< double > targetScalarField, IFunc3d scalarMap) |
| Generates scalar values for a 3D unstructured set fo points from the specified field of grid coordinates by a specified scalar function of 3 variables that maps coordinates to scalar values. More...
|
|
static void | GenerateCoordinatesPlain (Field< vec3 > field, int dimx, int dimy, int dimz, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef) |
| Generates coordinates of a 3D unstructured grid from a regular grid with grid directions parallel to coordinate axes and equidistantly arranged nodes in all directions. More...
|
|
static void | GenerateCoordinates (Field< vec3 > field, int dimx, int dimy, int dimz, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef) |
| Generates coordinates of a 3D unstructured grid from a regular grid with grid directions parallel to coordinate axes and equidistantly arranged nodes in all directions. More...
|
|
static void | GenerateCoordinatesPlain (Field< vec3 > field, int dimx, int dimy, int dimz, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef, IFunc3d fx, IFunc3d fy, IFunc3d fz) |
| Generates coordinates of a 3D unstructured grid of a parametric volume according to functions specifying the x, y, and z coordinates in terms of three scalar functions of 3 variables. More...
|
|
static void | GenerateCoordinates (Field< vec3 > field, int dimx, int dimy, int dimz, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef, IFunc3d fx, IFunc3d fy, IFunc3d fz) |
| Generates coordinates of a 3D unstructured grid of a parametric volume according to functions specifying the x, y, and z coordinates in terms of three scalar functions of 3 variables. More...
|
|
static void | UpdateBounds (Field< vec2 > field, IBoundingBox bounds) |
| Updates the specified bounds (object of type IBoundingBox) in such a way that all 2D vector elements of type vec2 of the specified field will fit within the bounds. More...
|
|
static void | MapCoordinatesPlain (Field< vec2 > referenceField, Field< vec2 > targetField, IFunc2d fx, IFunc2d fy) |
| Generates coordinates of a set of unstructured 3D points (point cloud) from a reference set according to 2 scalar functions of 2 variables that map coordinates of the reference points to components of the mapped points. More...
|
|
static void | MapCoordinates (Field< vec2 > referenceField, Field< vec2 > targetField, IFunc2d fx, IFunc2d fy) |
| Generates coordinates of a set of unstructured points (point cloud) from a reference set according to 2 scalar functions of 2 variables that map coordinates of the reference points to components of the mapped points. More...
|
|
static void | MapCoordinates1dPlain (Field< vec2 > referenceField, Field< vec2 > targetField, IRealFunction fx, IRealFunction fy) |
| Generates coordinates of a set of unstructured 2D points (point cloud) from a reference set according to 2 functions of 1 variables that map the first coordinate of the reference points to components of the mapped points. More...
|
|
static void | MapCoordinates1d (Field< vec2 > referenceField, Field< vec2 > targetField, IRealFunction fx, IRealFunction fy) |
| Generates coordinates of a set of unstructured 2D points (point cloud) from a reference set according to 2 functions of 1 variables that map the first coordinate of the reference points to components of the mapped points. More...
|
|
static void | MapCoordinatesToScalarsPlain (Field< vec2 > referenceField, Field< double > targetScalarField, IFunc2d scalarMap) |
| Generates scalar values for a 2D unstructured set fo points from the specified field of grid coordinates by a specified scalar function of 2 variables that maps coordinates to scalar values. More...
|
|
static void | MapCoordinatesToScalars (Field< vec2 > referenceField, Field< double > targetScalarField, IFunc2d scalarMap) |
| Generates scalar values for a 2D unstructured set fo points from the specified field of grid coordinates by a specified scalar function of 2 variables that maps coordinates to scalar values. More...
|
|
static void | GenerateCoordinatesPlain (Field< vec2 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef) |
| Generates coordinates of a 3D unstructured grid from a regular grid with grid directions parallel to coordinate axes and equidistantly arranged nodes in all directions. More...
|
|
static void | GenerateCoordinates (Field< vec2 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef) |
| Generates coordinates of a 3D unstructured grid from a regular grid with grid directions parallel to coordinate axes and equidistantly arranged nodes in all directions. More...
|
|
static void | GenerateCoordinatesPlain (Field< vec2 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy) |
| Generates coordinates of a 3D unstructured grid of a parametric volume according to functions specifying the x, y, and z coordinates in terms of three scalar functions of 3 variables. More...
|
|
static void | GenerateCoordinates (Field< vec2 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy) |
| Generates coordinates of a 3D unstructured grid of a parametric volume according to functions specifying the x, y, and z coordinates in terms of three scalar functions of 3 variables. More...
|
|
static void | GenerateCoordinates2dPlain (Field< vec3 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef) |
| Generates coordinates of a 2D unstructured grid embedded in 3D from a regular grid with grid directions parallel to the first two coordinate axes and equidistantly arranged nodes in all directions. More...
|
|
static void | GenerateCoordinates2d (Field< vec3 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef) |
| Generates coordinates of a 2D unstructured grid embedded in 3D from a regular grid with grid directions parallel to the first two coordinate axes and equidistantly arranged nodes in all directions. More...
|
|
static void | GenerateCoordinates2dPlain (Field< vec3 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy, IFunc2d fz) |
| Generates coordinates of a 3D unstructured grid of a parametric volume according to functions specifying the x, y, and z coordinates in terms of three scalar functions of 3 variables. More...
|
|
static void | GenerateCoordinates2d (Field< vec3 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy, IFunc2d fz) |
| Generates coordinates of a 3D unstructured grid of a parametric volume according to functions specifying the x, y, and z coordinates in terms of three scalar functions of 3 variables. More...
|
|
static void | GenerateCoordinates1dPlain (Field< vec3 > field, int dimx, double minxRef, double maxxRef) |
| Generates coordinates of a 1D unstructured grid from a regular grid with grid direction parallel to X coordinate axes and equidistantly arranged nodes. More...
|
|
static void | GenerateCoordinates1d (Field< vec3 > field, int dimx, double minxRef, double maxxRef) |
| Generates coordinates of a 1D unstructured grid from a regular grid with grid direction parallel to X coordinate axis and equidistantly arranged nodes. More...
|
|
static void | GenerateCoordinates1dPlain (Field< vec3 > field, int dimx, double minxRef, double maxxRef, IRealFunction fx, IRealFunction fy, IRealFunction fz) |
| Generates coordinates of a 1D unstructured grid of a parametric curve according to functions specifying the x, y, and z coordinates in terms of three functions of 1 variable. More...
|
|
static void | GenerateCoordinates1d (Field< vec3 > field, int dimx, double minxRef, double maxxRef, IRealFunction fx, IRealFunction fy, IRealFunction fz) |
| Generates coordinates of a 1D unstructured grid of a parametric curve according to functions specifying the x, y, and z coordinates in terms of three functions of 1 variables. More...
|
|
static void | GenerateCoordinates1dPlain (Field< vec2 > field, int dimx, double minxRef, double maxxRef) |
| Generates coordinates of a 1D unstructured grid embedded in 2D space from a regular grid with grid direction parallel to X coordinate axes and equidistantly arranged nodes. More...
|
|
static void | GenerateCoordinates (Field< vec2 > field, int dimx, double minxRef, double maxxRef) |
| Generates coordinates of a 1D unstructured grid embedded in 2D space from a regular grid with grid direction parallel to X coordinate axis and equidistantly arranged nodes. More...
|
|
static void | GenerateCoordinates1dPlain (Field< vec2 > field, int dimx, double minxRef, double maxxRef, IRealFunction fx, IRealFunction fy) |
| Generates coordinates of a 1D unstructured grid embedded in 2D space of a parametric curve according to functions specifying the x, and y coordinates in terms of 2 functions of 1 variable. More...
|
|
static void | GenerateCoordinates1d (Field< vec2 > field, int dimx, double minxRef, double maxxRef, IRealFunction fx, IRealFunction fy) |
| Generates coordinates of a 1D unstructured grid embedded in 2D space of a parametric curve according to functions specifying the x, and y coordinates in terms of 2 functions of 1 variable. More...
|
|
static void | Example () |
|
TElement[] | _values |
|
Generic 1D unstructured mesh with collections of named scalar, vector, tensor and index fields.
Mesh contains geometry (inherited from UnstructuredMeshGeometry1d) and collection of index, scalar, vector and tensor fields.
Fields are created on demand (lazy evaluation).
- Template Parameters
-
TCoord | Type of coordinates for description of mesh geometry. |
TIndexField | Type of contained index fields. |
TIndex | Type of elements of contained index fields. |
TScalarField | Type of contained scalar fields. |
TScalar | Type of elements of contained scalar fields. |
TVectorField | Type of contained vector fields. |
TVector | Type of elements of contained vector fields. |
TTensorField | Type of contained tensor fields. |
TTensor | Type of elements of contained tensor fields. |
$A Igor Jan08 Mar09;
- Type Constraints
-
TIndexField | : | Field<TIndex> | |
TIndexField | : | new() | |
TScalarField | : | Field<TScalar> | |
TScalarField | : | new() | |
TVectorField | : | Field<TVector> | |
TVectorField | : | new() | |
TTensorField | : | Field<TTensor> | |
TTensorField | : | new() | |