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
An error occurred in line <1183> of file </calculate/temp/cdev/spack-stage-dealii-develop-rhagfdv4pwivdatv7mchhb2ifeqhwwxr/spack-src/include/deal.II/numerics/data_out_dof_data.templates.h> in function
void dealii::DataOut_DoFData<DoFHandlerType, patch_dim, patch_space_dim>::add_data_vector_internal(const DoFHandlerType*, const VectorType&, const std::vector<std::__cxx11::basic_string >&, dealii::DataOut_DoFData<DoFHandlerType, patch_dim, patch_space_dim>::DataVectorType, const std::vectordealii::DataComponentInterpretation::DataComponentInterpretation&, bool) [with VectorType = dealii::Vector; DoFHandlerType = dealii::hp::DoFHandler<2, 2>; int patch_dim = 2; int patch_space_dim = 2]
The violated condition was:
data_vector.size() == dof_handler->n_dofs()
Additional information:
The vector has size 1468 but the DoFHandler object says that there are 7302 degrees of freedom and there are 1468 active cells. The size of your vector needs to be either equal to the number of degrees of freedom, or equal to the number of active cells.
As you can see in the additional information the vector size and the number of active cells are equal, and the error message is misleading.
The text was updated successfully, but these errors were encountered:
I encountered a misleading error message.
As you can see in the additional information the vector size and the number of active cells are equal, and the error message is misleading.
The text was updated successfully, but these errors were encountered: