dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #17001
Re: [Question #93169]: solver with subdomains in pyDolfin
Question #93169 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/93169
Status: Open => Solved
dbeacham confirmed that the question is solved:
After reading through the tutorial on fenics.org I managed to sort this
out using the following for any others who have a problem (effectively
augmenting the cahn-hilliard demo with an extra argument):
class MyProblem(NonlinearProblem):
def __init__(self, a, L, ext_facet_domains=None):
NonlinearProblem.__init(self)__
self.a = a
self.L = L
self.ext_facet_domains = ext_facet_domains
def F(self, b, x):
def J(self, A, x):
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.