Re: [deal.II] Re: Recommendation: BCs in config

2017-02-14 Thread Wolfgang Bangerth
On 02/13/2017 07:09 AM, Bruno Turcksin wrote: you could write everything into one string and then split it. So it would like this: subsection bc set value = 0.5*x+y; x*y^2 end Take a look here http://stackoverflow.com/questions/236129/split-a-string-in-c for some ideas how to split a

Re: [deal.II] Re: Recommendation: BCs in config

2017-02-13 Thread Bruno Turcksin
2017-02-13 9:46 GMT-05:00 Franco Milicchio : > Yes, I have thought of that but I cannot see right now how I could express > vector functions. Using a custom separator isn't really nice here... Why not? You can split the string several times using different separators:

[deal.II] Re: Recommendation: BCs in config

2017-02-13 Thread Franco Milicchio
On Monday, February 13, 2017 at 3:09:20 PM UTC+1, Bruno Turcksin wrote: > > Franco, > > you could write everything into one string and then split it. So it would > like this: > > subsection bc > set value = 0.5*x+y; x*y^2 > end > > Take a look here >