- removed milestone
Make the A_form and b_form arguments to SystemAssembler optional
Issue #700
new
At the moment if you just want to assemble a matrix with symmetrically imposed boundary conditions you have to create a dummy b_form:
u = TrialFunction(V)
v = TestFunction(V)
dummy = inner(Constant((1, 0)), v)*dx
# Assemble matrix for LHS
a = inner(curl(u), curl(v))*dx
asm = SystemAssembler(a, dummy, bcs)
A = PETScMatrix(); asm.assemble(A)
This would be much cleaner if the form arguments to SystemAssembler were optional.
Comments (5)
-
-
- changed milestone to 2016.2
-
- changed milestone to 2017.1
-
-
assigned issue to
- edited description
-
assigned issue to
-
- changed milestone to 2017.2
- Log in to comment
Removing milestone: 1.7 (automated comment)