Last change
on this file since 7998 was
7983,
checked in by habili, 15 years ago
|
structure classes to deal with irregular structures
|
File size:
831 bytes
|
Line | |
---|
1 | #! /usr/bin/python |
---|
2 | |
---|
3 | # To change this template, choose Tools | Templates |
---|
4 | # and open the template in the editor. |
---|
5 | |
---|
6 | __author__="steve" |
---|
7 | __date__ ="$30/08/2010 10:56:39 AM$" |
---|
8 | |
---|
9 | import structure |
---|
10 | import boyd_box_routine |
---|
11 | |
---|
12 | class Irregular_structure(structure.Structure): |
---|
13 | |
---|
14 | def __init__(self, |
---|
15 | domain, |
---|
16 | end_points, |
---|
17 | width, |
---|
18 | height=None, |
---|
19 | slice_coordinates, |
---|
20 | verbose=False): |
---|
21 | |
---|
22 | structure.Structure.__init__(self, domain, end_points, width, height, verbose) |
---|
23 | |
---|
24 | self.slice_coordinates = slice_coordinates |
---|
25 | |
---|
26 | self.routine = boyd_irregular_routine.Boyd_irregular_routine(self) |
---|
27 | |
---|
28 | def __call__(self): |
---|
29 | |
---|
30 | return self.routine() |
---|
31 | |
---|
32 | def get_slice_coordinates(self): |
---|
33 | |
---|
34 | self.slice_coordinates |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.