Actually, as far as I can see, the method initialize_info as declared below is 
not even implemented yet (or it's in a different file that I can't locate)...

-- Mihai




________________________________
Von: Guido Kanschat <[email protected]>
An: mihai alexe <[email protected]>
CC: deal.ii <[email protected]>
Gesendet: Dienstag, den 8. Februar 2011, 23:23:47 Uhr
Betreff: Re: [deal.II] MeshWorker::Assembler::Functional initialize_info

Mihai, I think you are right there. I'll look into it these days. Guido

On 2/8/2011 2:03 PM, mihai alexe wrote:
> Hello all,
> 
> the initialize_info method in MeshWorker::Assembler::Functional is defined as
> 
> template<typename number = double>
> template<int dim>
> void MeshWorker::Assembler::Functional 
><http://www.dealii.org/developer/doxygen/deal.II/classMeshWorker_1_1Assembler_1_1Functional.html><
> number >::initialize_info     (     DoFInfo 
><http://www.dealii.org/developer/doxygen/deal.II/classMeshWorker_1_1DoFInfo.html><
> dim > &     /info/,
> 
>     
>     bool <http://www.dealii.org/developer/doxygen/deal.II/classbool.html> 
>/interior_face/
> 
>     )     
> 
> 
> 
> Shouldn't it be templated with
> 
>     template <typename number = double>
>     template <class DOFINFO>
>     void initialize_info(DOFINFO& info, bool interior_face);
> 
> instead? This would make it consistent with the other similar initialize_info 
>methods and get rid of some runtime link errors that I am seeing when 
>assembling 
>a DG functional with terms defined on inner element faces:
> 
>   MeshWorker::DoFInfo<dim> dof_info(dof_handler);
>   assembler.initialize_info(dof_info, true);
> 
> and get at link time
> 
>/home/mihai/MyDocuments/autodiff/adaptive/optimality/code/c++/EllipticOptimalitySystem.cc:1213:
>: undefined reference to `void 
>dealii::MeshWorker::Assembler::Functional<double>::initialize_info<2>(dealii::MeshWorker::DoFInfo<2,
> 2, double>&, bool)'
> 
> Or should I use intialize_info in some other way?
> 
> Thanks,
>  -- Mihai
> 
> 
> 
> _______________________________________________
> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to