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
|
Rev | Line | |
---|
[804] | 1 | from __future__ import print_function |
---|
| 2 | |
---|
| 3 | from dynamico import meshes |
---|
| 4 | from dynamico.meshes import MPAS_Format |
---|
| 5 | from dynamico.dev.numba import int32, float64, store_data |
---|
| 6 | |
---|
| 7 | class 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.