itasca.attach

Functions and classes for working with FLAC gridpoint attaches.

Functions

itasca.attach.count() → int.

Get the number of attaches.

itasca.attach.create(slave: Gridpoint object, a1: Zone or Gridpoint object, a2=None: Gridpoint object or face index (0-5)) → int.

Create a new attach. The first parameter is the slave gridpoint. The number and type of the subsequent argument depends on the type of attach being created. If only one Gridpoint object is given a gridpoint attachment is created. If two Gridpoint objects are given, an edge attachment is created. If a Zone object and a face index (0 to 5) are given, a face attachment is created. Function returns None if the attach cannot be created. Attachment weights are determined automatically based on current geometry, but may be overridden by using the weight_edge or weight_face methods.

itasca.attach.find(id: int) → Attach object.

Get the attach object with the given ID number.

itasca.attach.list() → Attach iterator object.

Get a attach iterator object.

itasca.attach.maxid() → int.

Get the maximum attach ID.

Classes