source: codes/icosagcm/devel/Python/dynamico/dev/meshes.py @ 804

Last change on this file since 804 was 804, checked in by dubos, 5 years ago

devel/Python : introduced Python/dynamico/dev/ subdirectory

File size: 491 bytes
Line 
1from __future__ import print_function
2
3from dynamico import meshes
4from dynamico.meshes import MPAS_Format
5from dynamico.dev.numba import int32, float64, store_data
6
7class Unstructured_Mesh(meshes.Unstructured_Mesh):
8    def get_data(self):
9        return store_data(self,
10                   int32,      'primal_num dual_num edge_num',
11                   int32[:],   'primal_deg left right',
12                   int32[:,:], 'primal_edge primal_ne',
13                   float64[:], 'le_de Ai')
Note: See TracBrowser for help on using the repository browser.