itasca.attach
Functions and classes for working with FLAC gridpoint attaches.
Functions
- itasca.attach.count() int.
Get the number of attaches.
- itasca.attach.create(follower: Gridpoint object, a1: Zone or Gridpoint object, a2=None: Gridpoint object (in 3D only) or face index (0-3 in 2D or 0-5 in 3D)) int.
Create a new attach. The first parameter is the follower 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 (3D ONLY). If a Zone object and a face index 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 (3D ONLY) 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
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 19, 2024 |