Dear dealii,
After some false (and downright fake) starts, I think I am getting a handle on what needs to be done without commenting out the whole library. Things are not so irksome as I first thought... :-) I am stuck on this one error: source/dofs/dof_accessor.cc: In member function 'void dealii::DoFCellAccessor<DH>::get_interpolated_dof_values(const InputVector&, dealii::Vector<number3>&) const [with InputVector = dealii::PETScWrappers::Vector, number = std::complex<double>, DH = dealii::DoFHandler<2, 2>]': source/dofs/dof_accessor.inst:418: instantiated from here source/dofs/dof_accessor.cc:182: error: no match for 'operator!=' in 'tmp2. dealii::Vector<Number>::operator() [with Number = std::complex<double>](i) != 0' source/dofs/dof_accessor.cc: In member function 'void dealii::DoFCellAccessor<DH>::get_interpolated_dof_values(const InputVector&, dealii::Vector<number3>&) const [with InputVector = dealii::PETScWrappers::Vector, number = std::complex<double>, DH = dealii::DoFHandler<2, 3>]': source/dofs/dof_accessor.inst:429: instantiated from here Deal.II is rightfully complaining here! Taking a look at: http://www.dealii.org/developer/doxygen/deal.II/classVector.html I figure I need somehow to define the operator!= for std::complex<double>, which I feel safe doing... My question is where is "Number" and "Number2" defined in deal.ii? My aim was to instantiate this for when Number or Number2 is complex. I am slightly suprised this is not operational already... quite a few similar-things are (thankfully). Any ideas on the way forward with this one? Thanks in advance. Best, Toby Footnote: I was thinking of basing other such operations if needed on: bool numbers::is_finite (const std::complex< long double > x) Sound godd? ----- Toby D. Young Assistant Professor Philosophy-Physics Polish Academy of Sciences Warszawa, Polska www: http://www.ippt.gov.pl/~tyoung skype: stenografia _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
