Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in editor.open(mesh, 2, 2) #1

Open
hustjinghu opened this issue Nov 8, 2018 · 0 comments
Open

error in editor.open(mesh, 2, 2) #1

hustjinghu opened this issue Nov 8, 2018 · 0 comments

Comments

@hustjinghu
Copy link

--------------------------------

purpose: phase field for fracture

Tension test 2D

Hirshikesh, Sundarajan Natarajan, Ratna Kumar Annabatutla

IITM, Aug 2017

#-------------------------------------
from dolfin import *
import numpy as np
import matplotlib.pyplot as plt
set_log_active(False)
#==================================

mesh (concident nodes) for the crack

#===================================
nx = 1
ny = 1
num = 1
mesh = Mesh()
editor = MeshEditor()
editor.open(mesh, 2, 2)

When editor.open(mesh, 2, 2) is run, the python gives the following error:
image

which shows the editor.open argument parameter of CellType::Type or string is not supply.
My dolfin version is 2017.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant