File: test-meshes.py

package info (click to toggle)
mshr 2018.1.0%2Bdfsg1-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,136 kB
  • sloc: cpp: 9,808; python: 680; makefile: 242; sh: 62; ansic: 11
file content (6 lines) | stat: -rw-r--r-- 109 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
from dolfin import *
import mshr

# Unit sphere mesh
m = mshr.UnitSphereMesh(4)
m = mshr.UnitSphereMesh(10)