Re: [DuMuX] migrating from 3.0-alpha to 3.0-release

2019-03-15 Thread Ed Scott Wilson Garcia
Thanks Timo!

  I really like the "bool hasParam(const std::string&);" functionality. I 
hadn't found a similiar functionality with the macros (maybe I did not look 
hard enough).

 The script in bin/util is quite ilustrative.

best regards,

Edscott

-Mensaje original-
De: Dumux [mailto:dumux-boun...@listserv.uni-stuttgart.de] En nombre de Timo 
Koch
Enviado el: jueves, 14 de marzo de 2019 11:30 a. m.
Para: dumux@listserv.uni-stuttgart.de
Asunto: Re: [DuMuX] migrating from 3.0-alpha to 3.0-release

Hi Edscott,

for the properties there is a script in bin/util/. However, the old property 
macros also still work.

For the problems and spatial params there is the guide in the wiki
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/wikis/Hints/Upgrade-to-Dumux-3

For all other classes that changes there is unfortunately no detailed guide.  
But there are plenty of existing model implementations and tests as examples 
for what the new way looks like.

Timo

On 14.03.19 17:42, Ed Scott Wilson Garcia wrote:
> Hi,
>
> I've currently got some programs that run on a dumux-3.0-alpha version 
> (git commit 913003596) and I wonder if there is a roadmap or howto to update 
> the code to the current 3.0 release. What I notice on first observation is 
> that all the properties macros have been replaced by code within the 
> Dumux::Properties::TTag namespace.
> That I think I can handle, but other files and classes that used to exist 
> have been replaced by others with new templates. For example,  the property 
> functionality defined in dumux/discretization/box/properties.hh is now taken 
> care of in dumux/discretization/box.hh with the new property paradigm.
>
> Is there a guide or roadmap or howto documentation that points outs what has 
> been removed and with what it has been replaced?
>
>   This would make migration less complicated.
>
> Best regards
>
> Edscott
> ___
> Dumux mailing list
> Dumux@listserv.uni-stuttgart.de
> https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

--
___

Timo Koch  phone: +49 711 685 64676
IWS, Universität Stuttgart fax:   +49 711 685 60430
Pfaffenwaldring 61email: timo.k...@iws.uni-stuttgart.de
D-70569 Stuttgarturl: www.hydrosys.uni-stuttgart.de
___

___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


Re: [DuMuX] migrating from 3.0-alpha to 3.0-release

2019-03-14 Thread Timo Koch

Hi Edscott,

for the properties there is a script in bin/util/. However, the old 
property macros also still work.


For the problems and spatial params there is the guide in the wiki 
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/wikis/Hints/Upgrade-to-Dumux-3


For all other classes that changes there is unfortunately no detailed 
guide.  But there are plenty of existing model implementations and tests 
as examples for what the new way looks like.


Timo

On 14.03.19 17:42, Ed Scott Wilson Garcia wrote:

Hi,
   
I've currently got some programs that run on a dumux-3.0-alpha version (git commit 913003596) and I wonder if there is a roadmap or howto to update the code to the current 3.0 release. What I notice on first observation is that all the properties macros have been replaced by code within the Dumux::Properties::TTag namespace.

That I think I can handle, but other files and classes that used to exist have 
been replaced by others with new templates. For example,  the property 
functionality defined in dumux/discretization/box/properties.hh is now taken 
care of in dumux/discretization/box.hh with the new property paradigm.

Is there a guide or roadmap or howto documentation that points outs what has 
been removed and with what it has been replaced?

  This would make migration less complicated.

Best regards

Edscott
___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


--
___

Timo Koch  phone: +49 711 685 64676
IWS, Universität Stuttgart fax:   +49 711 685 60430
Pfaffenwaldring 61email: timo.k...@iws.uni-stuttgart.de
D-70569 Stuttgarturl: www.hydrosys.uni-stuttgart.de
___

___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


[DuMuX] migrating from 3.0-alpha to 3.0-release

2019-03-14 Thread Ed Scott Wilson Garcia
Hi,
  
   I've currently got some programs that run on a dumux-3.0-alpha version (git 
commit 913003596) and I wonder if there is a roadmap or howto to update the 
code to the current 3.0 release. What I notice on first observation is that all 
the properties macros have been replaced by code within the 
Dumux::Properties::TTag namespace. 
That I think I can handle, but other files and classes that used to exist have 
been replaced by others with new templates. For example,  the property 
functionality defined in dumux/discretization/box/properties.hh is now taken 
care of in dumux/discretization/box.hh with the new property paradigm.

Is there a guide or roadmap or howto documentation that points outs what has 
been removed and with what it has been replaced?

 This would make migration less complicated.

Best regards

Edscott
___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux