GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • index
  • modules
  • next
  • previous
  • PyTAPS v1.4 documentation
  • A Gentle Introduction to iMesh
  • A Gentle Introduction to iGeom
  • Working With Sets and Tags
  • A Gentle Introduction to iRel

This view

  • Original page
  • New address

GeezerVison is showing pythonhosted.org — Tutorial — PyTAPS v1.4 documentation

Navigation

  • index
  • modules |
  • next |
  • previous |
  • PyTAPS v1.4 documentation »

Tutorial¶

PyTAPS is a set of Python bindings to the ITAPS (Interoperable Technologies for Advanced Petascale Simulations) interfaces, a set of standardized interfaces for use in simulation code written in C, C++, or Fortran (users already familiar with ITAPS may wish to consult Coming from C first). Specifically, ITAPS includes:

  • iBase: Common definitions used by all other ITAPS interfaces
  • iMesh: Creation, querying, and manipulation of discrete polygonal/polyhedral meshes
  • iGeom: Creation, querying, and manipulation of continuous geometry (e.g. CAD)
  • iRel: Relations between pairs of other ITAPS interface instances

ITAPS strives to remain implementation-independent, allowing people to write generic simulation code that can be used on any system that implements the appropriate ITAPS interfaces. There are several software packages that implement these interfaces, including MOAB, GRUMMP, FMDB, NWGrid, Frontier, CGM, and Lasso. PyTAPS wraps all of this up and makes it available to Python.

In ITAPS, there are three basic data types: entities, entity sets, and tags. Entities refer to individual geometric objects, such as vertices or hexahedra. Entity sets are collections of entities or other entity sets; they can also contain parent-child relationships with other sets. Tags are (sparse) mappings of entities or entity sets to arbitrary data. These data types are combined to do everything that can be done in ITAPS (and correspondingly in PyTAPS).

  • Why Use PyTAPS
    • An Example
  • A Gentle Introduction to iMesh
    • “Hello, World!”
    • Creating Entities
    • Getting Entity Data
    • Working With Arrays
    • Sets and Tags
  • A Gentle Introduction to iGeom
    • “Hello, World!”
    • Creating Entities
    • Getting Entity Data
    • Transforming Entities
    • Working With Arrays
    • Sets and Tags
  • Working With Sets and Tags
    • Sets
    • Tags
  • A Gentle Introduction to iRel
    • Starting Out
    • Setting Relations
    • Getting Relations
    • Removing Relations
  • An Example
  • Coming from C
    • Overloads
    • Return Values
    • Error Handling
    • Arrays

Previous topic

Installing PyTAPS

Next topic

Why Use PyTAPS

This Page

  • Show Source

Quick search

Enter search terms or a module, class or function name.

Navigation

  • index
  • modules |
  • next |
  • previous |
  • PyTAPS v1.4 documentation »
© Copyright 2009-2011, James Porter. Created using Sphinx 1.0.4.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.