Re: [deal.II] NamedData is not supported, how to change NamedData to AnyData?

2017-10-26 Thread Wolfgang Bangerth
On 10/26/2017 08:17 AM, 曾元圆 wrote: Is there a record on how the template/class/function names are changed, so I can find it quickly in case one day in the future I found the code I wrote today can't run? Yes, we list changes from each version to the next here: https://www.dealii.org/develo

Re: [deal.II] NamedData is not supported, how to change NamedData to AnyData?

2017-10-26 Thread 曾元圆
Wow, it's really surprising and exciting to see the original developer of the code I'm now runing answering this question! Thank you so much Prof. Praveen.This is greetings from remote China! I'm now a master student and am running and learning the DG code developed by you. So I really want to

Re: [deal.II] NamedData is not supported, how to change NamedData to AnyData?

2017-10-26 Thread 曾元圆
Sorry, I should have describe my problem more specificlly. The problem is, I'm running a code writen several years ago. In the code it used the class: NamedData< Vector *>, but Deal.II has deleted this template class so I have no idea how it work and the way to use it. I searched in the mailin

Re: [deal.II] NamedData is not supported, how to change NamedData to AnyData?

2017-10-26 Thread Praveen C
step-39 should be of some help to you. best praveen > On 26-Oct-2017, at 5:45 PM, 曾元圆 <2012zg...@gmail.com> wrote: > > I am trying to run a open source code, but an error occurred. > In the code it uses NamedData like this: > NamedData< Vector *> solution_data; > Info_box.initialize(fe, mappin

Re: [deal.II] NamedData is not supported, how to change NamedData to AnyData?

2017-10-26 Thread Wolfgang Bangerth
On 10/26/2017 06:15 AM, 曾元圆 wrote: I am trying to run a open source code, but an error occurred. In the code it uses NamedData like this: NamedData< Vector *> solution_data; Info_box.initialize(fe, mapping, solution_data); What is the error you get? The first step in fixing an error is to care

[deal.II] NamedData is not supported, how to change NamedData to AnyData?

2017-10-26 Thread 曾元圆
I am trying to run a open source code, but an error occurred. In the code it uses NamedData like this: NamedData< Vector *> solution_data; Info_box.initialize(fe, mapping, solution_data); How should I use AnyData to replace it? Actually I am a new learner, I tried to read the documentation relat