27. isopar — Isoparametric transformations

Isoparametric transformations

class isopar.Isopar(eltype, coords, oldcoords)

A class representing an isoparametric transformation

Create an isoparametric transformation.

type is one of the keys in Isopar.isodata coords and oldcoords can be either arrays, Coords or Formex instances, but should be of equal shape, and match the number of atoms in the specified transformation type

Isopar objects have the following methods:

transform(X)

Apply isoparametric transform to a set of coordinates.

Returns a Coords array with same shape as X

transformFormex(F)

Apply an isoparametric transform to a Formex.

The result is a topologically equivalent Formex.

Functions defined in the module isopar

isopar.build_matrix(atoms, x, y=0, z=0)

Build a matrix of functions of coords.

Atoms is a list of text strings representing some function of x(,y)(,z). x is a list of x-coordinats of the nodes, y and z can be set to lists of y,z coordinates of the nodes. Each line of the returned matrix contains the atoms evaluated at a node.

isopar.transformFormex(F, trf)
isopar.isopar(F, eltype, coords, oldcoords)

Documentation

Previous topic

26. surface — Operations on triangulated surfaces.

Next topic

28. section2d — Some functions operating on 2D structures.

This Page