Re: [firedrake] BC's - 1D Hermite elements
[Adding firedrake back in to cc]
On 7 Apr 2020, at 22:25, Roberto Federico Ausas <rfausas@icmc.usp.br> wrote:
File "/home/usuario/Codes/newfire/firedrake/src/firedrake/firedrake/functionspacedata.py", line 514, in lgmap nodes.append(tmp + i) TypeError: can only concatenate list (not "int") to list
This is the proximate error. Your definition from Patrick has: class FixHermiteDerivativeValue(DirichletBC): @utils.cached_property def nodes(self): if V.mesh().mpi_comm().size > 1: raise NotImplementedError return [1] # the derivative component of the left endpoint I think it might work if you use from pyop2.datatypes import IntType and then return numpy.asarray([1], dtype=IntType) Thanks, Lawrence
participants (1)
- 
                
                Lawrence Mitchell