Dear all, I am trying to run the IFEM code on FSI problems, developed by Luca Heltai. I am using deal.II 8.4.1. I edited some parts of the code due to warnings because it is considered deprecated for the version I am using. I stopped when warning appears for line 1038:
1037 if((!par.semi_implicit) || (!par.use_spread)) *1038 contract (PeFT, Pe[qs], 2, F[qs], 2); * The warning I see is as follows: jomivalen@Nalia ~/ifem/ans-ifem $ make Scanning dependencies of target ifem [ 25%] Building CXX object CMakeFiles/ifem.dir/source/immersed_fem.cc.o /home/jomivalen/ifem/ans-ifem/source/immersed_fem.cc: In instantiation of ‘void ImmersedFEM<dim>::residual_and_or_Jacobian(dealii::BlockVector<double>&, dealii::BlockSparseMatrix<double>&, const dealii::BlockVector<double>&, const dealii::BlockVector<double>&, double, double) [with int dim = 2]’: /home/jomivalen/ifem/ans-ifem/source/immersed_fem.cc:2046:16: required from here /home/jomivalen/ifem/ans-ifem/source/immersed_fem.cc:1038:44: warning: ‘void dealii::contract(dealii::Tensor<2, dim, Number>&, const dealii::Tensor<2, dim, Number>&, unsigned int, const dealii::Tensor<2, dim, Number>&, unsigned int) [with int dim = 2; Number = double]’ is deprecated (declared at /home/jomivalen/cfem/dealii/include/deal.II/base/tensor_deprecated.h:262) [-Wdeprecated-declarations] contract (PeFT, Pe[qs], 2, F[qs], 2); // contract (PeFT, Pe[qs], 2, F[qs], 2); ^ I don't know how to actualize the contract function despite having seen the indications in the file "tensor.h". Thanks for any help, Joaquín -- 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. For more options, visit https://groups.google.com/d/optout.