JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
jarmos.geometry.AffineLinearMeshTransform Class Reference

An affine linear mesh transformation. More...

Inheritance diagram for jarmos.geometry.AffineLinearMeshTransform:
jarmos.geometry.MeshTransform

Public Member Functions

 AffineLinearMeshTransform (float[][] functions)
 
 AffineLinearMeshTransform (float[][] functions, int[] vertexLTFuncNr)
 
float[] transformMesh (float[] vertices)
 

Detailed Description

An affine linear mesh transformation.

The different affine functions are stored in a 2D float array, where the first index corresponds to the function index, and the second the different components of the affine transformation (multiplication matrix and offset = 12 values)

See the "demo1" AffineFunctions::get_local_transformation method for an example.

Author
Daniel Wirtz

Definition at line 15 of file AffineLinearMeshTransform.java.

Constructor & Destructor Documentation

jarmos.geometry.AffineLinearMeshTransform.AffineLinearMeshTransform ( float  functions[][])

Definition at line 27 of file AffineLinearMeshTransform.java.

jarmos.geometry.AffineLinearMeshTransform.AffineLinearMeshTransform ( float  functions[][],
int[]  vertexLTFuncNr 
)

Definition at line 31 of file AffineLinearMeshTransform.java.

Member Function Documentation

float [] jarmos.geometry.AffineLinearMeshTransform.transformMesh ( float[]  vertices)
See Also
jarmos.geometry.MeshTransform::transformMesh(float[])

Affine-linear transformation of a node to a new position. Uses the reference nodes and the LTfunc (linear transform function) to move the nodes to the specified location.

The crack in a pillar demo illustrates the use of this.

func is of size [number of subdomain, 12] a row of LTfunc is the rowwise flatten of the [3,3] transformation matrix and the [3,1] translation vector

Copies the current nodal data into vertex list (flattened out)

Implements jarmos.geometry.MeshTransform.

Definition at line 40 of file AffineLinearMeshTransform.java.


The documentation for this class was generated from the following file: