Assemble the firedrake form in AllAtOnceForm
into a cofunction.
#176
Labels
Core functionality
Adding to the main paradiag functionality
refactor
Tidy up existing functionality
AllAtOnceForm
(aaoform
) assembles the firedrake formaaoform.form
into anAllAtOnceFunction
calledF
(actually it assembles it into the firedrake FunctionF.function
).Really
F
should be aAllAtOnceCofunction
but we can't currently do that because of the way we then apply boundary conditions to the residual:bc.apply(F.function, aaofunc.function)
where
aaofunc.function
is the current state. IfF.function
is afd.Cofunction
then we get an internal firedrake error frombc.apply
because of the argument type mismatch.The text was updated successfully, but these errors were encountered: