scallop dome pyformex logo

Previous topic

43. inertia — inertia.py

Next topic

45. lima — Lindenmayer Systems

[FSF Associate Member]

Valid XHTML 1.0 Transitional

44. isopar — Isoparametric transformations

Classes defined in module isopar

class isopar.Isopar(eltype, coords, oldcoords)

A class representing 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

The following three formulations are equivalent

trf = Isopar(eltype,coords,oldcoords)
G = F.isopar(trf)

trf = Isopar(eltype,coords,oldcoords)
G = trf.transform(F)

G = isopar(F,eltype,coords,oldcoords)
transform(X)

Apply isoparametric transform to a set of coordinates.

Returns a Coords array with same shape as X

Functions defined in module isopar

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

Build a matrix of functions of coords.

  • atoms: a list of text strings representing a mathematical function of x, and possibly of y and z.
  • x, y, z: a list of x- (and optionally y-, z-) values at which the atoms will be evaluated. The lists should have the same length.

Returns a matrix with nvalues rows and natoms colums.