Change "data_out.write_vtk <https://www.dealii.org/current/doxygen/deal.II/group__Exceptions.html#gacad99726038e4fca7f605fdffb3317e4> (output);" to "data_out.write_vt <https://www.dealii.org/current/doxygen/deal.II/group__Exceptions.html#gacad99726038e4fca7f605fdffb3317e4> u (output);" https://groups.google.com/g/dealii/c/T1ckYL0Le_U/m/54r575TiAwAJ
On Wednesday, November 23, 2022 at 11:16:42 AM UTC+2 [email protected] wrote: > Hello Everyone, > > I am trying to calculate the gradient of displacement for step 8, for > that, I am using the Datapostprocessor Tensor class (same example code > which is given in the documentation here - > https://www.dealii.org/current/doxygen/deal.II/classDataPostprocessorTensor.html) > > but I am getting the following error: > > > 66%] Linking CXX executable step-8 > [ 66%] Built target step-8 > [100%] Run step-8 with Debug configuration > Cycle 0: > Number of active cells: 256 > Number of degrees of freedom: 578 > > > ---------------------------------------------------- > Exception on processing: > > -------------------------------------------------------- > An error occurred in line <5286> of file <./source/base/data_out_base.cc> > in function > void dealii::DataOutBase::write_vtk(const > std::vector<dealii::DataOutBase::Patch<dim, spacedim> >&, const > std::vector<std::__cxx11::basic_string<char> >&, const > std::vector<std::tuple<unsigned int, unsigned int, > std::__cxx11::basic_string<char, std::char_traits<char>, > std::allocator<char> >, > dealii::DataComponentInterpretation::DataComponentInterpretation> >&, const > dealii::DataOutBase::VtkFlags&, std::ostream&) [with int dim = 2; int > spacedim = 2; std::ostream = std::basic_ostream<char>] > The violated condition was: > std::get<3>(nonscalar_data_range) != > DataComponentInterpretation::component_is_part_of_tensor > > > > > > > > > > *Additional information: You are trying to use functionality in > deal.II that is currently not implemented. In many cases, this indicates > that there simply didn't appear much of a need for it, or that the > author of the original code did not have the time to implement a > particular case. If you hit this exception, it is therefore worth the > time to look into the code to find out whether you may be able to > implement the missing functionality. If you do, please consider > providing a patch to the deal.II development sources (see the deal.II > website on how to contribute).* > -------------------------------------------------------- > > Aborting! > ---------------------------------------------------- > make[3]: *** [CMakeFiles/run.dir/build.make:71: CMakeFiles/run] Error 1 > make[2]: *** [CMakeFiles/Makefile2:116: CMakeFiles/run.dir/all] Error 2 > make[1]: *** [CMakeFiles/Makefile2:123: CMakeFiles/run.dir/rule] Error 2 > make: *** [Makefile:137: run] Error 2 > > How to resolve this? > > > Thanks & Regards, > Deepika > > ************************************************************************** > This e-mail is for the sole use of the intended recipient(s) and may > contain confidential and privileged information. If you are not the > intended recipient, please contact the sender by reply e-mail and destroy > all copies and the original message. Any unauthorized review, use, > disclosure, dissemination, forwarding, printing or copying of this email > is strictly prohibited and appropriate legal action will be taken. > ************************************************************ > ************************************ > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/145b97cc-c131-45bc-940c-636fb3774f47n%40googlegroups.com.
