From: Sylla Z. <zby...@gm...> - 2013-07-02 08:52:16
|
Hi, I want to use anuga in a large and complex terrain situation, following is the statistics: *Input vertices: 4459* * Input segments: 4459* * Input holes: 0* * * * Mesh vertices: 430357* * Mesh triangles: 858416* * Mesh edges: 1288772* * Mesh exterior boundary edges: 2296* * Mesh interior boundary edges: 5122* * Mesh subsegments (constrained edges): 7418* Then, I encounter 'MemoryError' as follows: *FitInterpolate: Building quad tree* *Building smoothing matrix* * * *Traceback (most recent call last):* * File "rundtlake.py", line 36, in <module>* * use_cache=True, verbose=True, alpha=0.1)* * File "D:\Python25\lib\site-packages\anuga\abstract_2d_finite_volumes\generic_domain.py", line 650, in set_quantity* * self.quantities[name].set_values(*args, **kwargs)* * File "D:\Python25\lib\site-packages\anuga\abstract_2d_finite_volumes\quantity.py", line 513, in set_values* * use_cache=use_cache)* * File "D:\Python25\lib\site-packages\anuga\abstract_2d_finite_volumes\quantity.py", line 899, in set_values_from_file* * max_read_lines=max_read_lines)* * File "D:\Python25\lib\site-packages\anuga\fit_interpolate\fit.py", line 517, in fit_to_mesh* * dependencies=dep)* * File "D:\Python25\lib\site-packages\anuga\caching\caching.py", line 376, in cache* * T = my_F(*args, **kwargs) # Built-in 'apply' deprecated in Py3K* * File "D:\Python25\lib\site-packages\anuga\fit_interpolate\fit.py", line 580, in _fit_to_mesh* * alpha=alpha)* * File "D:\Python25\lib\site-packages\anuga\fit_interpolate\fit.py", line 111, in __init__* * self._build_smoothing_matrix_D()* * File "D:\Python25\lib\site-packages\anuga\fit_interpolate\fit.py", line 206, in _build_smoothing_matrix_D* * self.D[v1,v2] += e12* * File "D:\Python25\lib\site-packages\anuga\utilities\sparse.py", line 65, in __setitem__* * self.Data[key] = float(x)* *MemoryError* May someone help me? Thanks! -- *Best wishes.* *Sylla Zhang,* *Southeast University, PRC. * |