You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function FEEvaluation::reinit() can be called either with a cell-batch index or with an array of indices of cells that should make up a new macro cell. Calling the first function and after that the second one works. But it does not work in the opposite way around, due to the assert:
--------------------------------------------------------
An error occurred in line <6765> of file </home/munch/sw-index/dealii2/include/deal.II/matrix_free/fe_evaluation.h> in function
void dealii::FEEvaluation<dim, fe_degree, n_q_points_1d, n_components_, Number, VectorizedArrayType>::reinit(unsigned int) [with int dim = 2; int fe_degree = -1; int n_q_points_1d = 0; int n_components_ = 1; Number = double; VectorizedArrayType = dealii::VectorizedArray<double, 8>]
The violated condition was:
this->mapped_geometry == nullptr
Additional information:
FEEvaluation was initialized without a matrix-free object. Integer
indexing is not possible
Stacktrace:
-----------
#0 ./main: dealii::FEEvaluation<2, -1, 0, 1, double, dealii::VectorizedArray<double, 8ul> >::reinit(unsigned int)
#1 ./main: main
What do we want? Should we allow switching between modi? Or should we add an additional assert in the second function?
The function
FEEvaluation::reinit()
can be called either with a cell-batch index or with an array of indices of cells that should make up a new macro cell. Calling the first function and after that the second one works. But it does not work in the opposite way around, due to the assert:What do we want? Should we allow switching between modi? Or should we add an additional assert in the second function?
Minimal test:
The text was updated successfully, but these errors were encountered: