Ignore:
Timestamp:
Nov 7, 2006, 10:57:58 AM (17 years ago)
Author:
ole
Message:

First step towards keeping track of full nodes and triangles in
parallel domains.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/abstract_2d_finite_volumes/domain.py

    r3850 r3926  
    4646                 ghost_recv_dict=None,
    4747                 processor=0,
    48                  numproc=1):
     48                 numproc=1,
     49                 number_of_full_nodes=0,
     50                 number_of_full_triangles=0):
    4951
    5052
     
    126128
    127129        # List of other quantity names
    128         if ghost_recv_dict  is None:
    129             self.ghost_recv_dict  = {}
     130        if ghost_recv_dict is None:
     131            self.ghost_recv_dict = {}
    130132        else:
    131             self.ghost_recv_dict  = ghost_recv_dict
     133            self.ghost_recv_dict = ghost_recv_dict
    132134
    133135        self.processor = processor
    134         self.numproc   = numproc
     136        self.numproc = numproc
     137
     138        self.number_of_full_nodes=number_of_full_nodes
     139        self.number_of_full_triangles=number_of_full_triangles
     140       
    135141
    136142        # Setup Communication Buffers
    137 
    138143        if verbose: print 'Domain: Set up communication buffers (parallel)'
    139144        self.nsys = len(self.conserved_quantities)
Note: See TracChangeset for help on using the changeset viewer.