On 3/8/23 05:37, jack urombo wrote:
-------------------------------------------------------
An error occurred in line <1333> of file
</usr/local/share/dealii/include/deal.II/base/tensor.h> in
function
constexpr ArrayElementType&
dealii::internal::TensorSubscriptor::subscript(ArrayElementType*, un
signed int, std::integral_constant<int, dim>) [with ArrayElementType =
dealii::Tensor<0, 2, double>;
int dim = 2]
The violated condition was:
static_cast<typename ::dealii::internal::argument_type<void( typename
std::common_type<decltype(
i), decltype(dim)>::type)>:: type>(i) < static_cast<typename
::dealii::internal::argument_type<void(
typename std::common_type<decltype(i), decltype(dim)>::type)>:: type>(dim)
Additional information:
Index 2 is not in the half-open range [0,2).
Someone is accessing element 2 of a tensor that only has elements 0 and 1. Why
that is so is something you have to find out. The debugger is your friend!
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/73d815c7-aae5-4f6e-5bb7-15eb268b3e88%40colostate.edu.