Re: [deal.II] Help with Vector template instantiations

2016-09-10 Thread Wolfgang Bangerth
On 09/10/2016 11:22 AM, dragniko...@gmail.com wrote: Yes, no problem. I see those files changed a lot since the 8.4.1 release. Anyway, I see the two spots are the same as in 8.4.1. I'll send you the patch. Fantastic, thanks! W. --

Re: [deal.II] Help with Vector template instantiations

2016-09-10 Thread Wolfgang Bangerth
On 09/10/2016 10:33 AM, dragniko...@gmail.com wrote: Hello Wolfgang, Yes, I do explicitly instantiate these templates in my code. The datatype is different from what is already defined in deal.II. Something like: #include #include template class Vector; But these two guys:

Re: [deal.II] Help with Vector template instantiations

2016-09-10 Thread dragnikolic
Hello Wolfgang, Yes, I do explicitly instantiate these templates in my code. The datatype is different from what is already defined in deal.II. Something like: #include #include template class Vector; But these two guys: dealii::Vector::operator=(std::complex) and

[deal.II] Re: Help with the weak form

2016-09-10 Thread dragnikolic
Thank you Bruno. Dragan On Friday, September 9, 2016 at 1:07:19 PM UTC+1, Bruno Turcksin wrote: > > Dragon, > > On Friday, September 9, 2016 at 7:02:15 AM UTC-4, dragn...@gmail.com > wrote: >> >> Thank you Denis. >> >> I tried that. The function log(c/(1-c)) looks like: >> >> >>

Re: [deal.II] How to declare a constant that is used in a template?

2016-09-10 Thread Wolfgang Bangerth
On 09/10/2016 03:49 AM, dealii.gr...@gmail.com wrote: I have a dimension independent code which can work for 1D, 2D and 3D. The dimension of the problem is defined in the input file. Is there a way to declare a constant integer variable (dim) for template? for 1D dim = 1; for 2D dim = 2; else