Skip to content
Snippets Groups Projects
Commit 31d4027f authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Merge branch 'master' into 'feature/remove-trivial-reductions'

# Conflicts:
#   python/dune/perftool/sumfact/vectorization.py
parents cd1882f0 7424fb14
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,11 @@ ...@@ -5,6 +5,11 @@
#include <iostream> #include <iostream>
#include <cmath> #include <cmath>
#include <cstdlib> #include <cstdlib>
#include <ostream>
#include <sstream>
#include <istream>
#include <dune/common/typetraits.hh>
namespace oc { namespace oc {
......
...@@ -105,7 +105,7 @@ def name_quadrature_points(): ...@@ -105,7 +105,7 @@ def name_quadrature_points():
"""Name of vector storing quadrature points as class member""" """Name of vector storing quadrature points as class member"""
from dune.perftool.pdelab.geometry import local_dimension from dune.perftool.pdelab.geometry import local_dimension
dim = local_dimension() dim = local_dimension()
name = "qp_order" + str(dim) name = "qp_dim" + str(dim)
shape = (name_quadrature_bound(), dim) shape = (name_quadrature_bound(), dim)
globalarg(name, shape=shape, dtype=numpy.float64, managed=False) globalarg(name, shape=shape, dtype=numpy.float64, managed=False)
define_quadrature_points(name) define_quadrature_points(name)
...@@ -166,7 +166,7 @@ def name_quadrature_weights(): ...@@ -166,7 +166,7 @@ def name_quadrature_weights():
""""Name of vector storing quadrature weights as class member""" """"Name of vector storing quadrature weights as class member"""
from dune.perftool.pdelab.geometry import local_dimension from dune.perftool.pdelab.geometry import local_dimension
dim = local_dimension() dim = local_dimension()
name = "qw_order" + str(dim) name = "qw_dim" + str(dim)
define_quadrature_weights(name) define_quadrature_weights(name)
fill_quadrature_weights_cache(name) fill_quadrature_weights_cache(name)
......
...@@ -135,4 +135,4 @@ class HasSumfactMapper(lp.symbolic.CombineMapper): ...@@ -135,4 +135,4 @@ class HasSumfactMapper(lp.symbolic.CombineMapper):
def find_sumfact(expr): def find_sumfact(expr):
return HasSumfactMapper()(expr) return HasSumfactMapper()(expr)
\ No newline at end of file
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