source: trunk/anuga_core/source/anuga/structures/irregular_structure.py @ 7983

Last change on this file since 7983 was 7983, checked in by habili, 14 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
9import structure
10import boyd_box_routine
11
12class 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.