Skip to content
Snippets Groups Projects
Commit 396a30e7 authored by René Heß's avatar René Heß
Browse files

Use coefficients as input vector

parent 8baca6f4
No related branches found
No related tags found
No related merge requests found
from dune.perftool import Restriction
from dune.perftool.options import get_option
from dune.perftool.pdelab.argument import name_coefficientcontainer
from dune.perftool.generation import (class_member,
constructor_block,
get_global_context_value,
......@@ -229,7 +233,7 @@ def evaluate_coefficient_gradient_sumfact():
from dune.perftool.sumfact.sumfact import AMatrix, sumfact
a_matrix = AMatrix(name, m, n)
a_matrices = (a_matrix, a_matrix)
inp = 0
inp = name_coefficientcontainer(Restriction.NONE) + ".data()"
# TODO: Decide where to define that
out = name_sf_output(a_matrices)
sumfact(a_matrices, inp, out)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment