Hello Daniel,

as I understand this function is to include the .prm file input data. What 
I have is inside my .prm file:

subsection  somedata
    set input file = *xyz.data*
end

I read this input string from .prm and via my own implemented function read 
this *xyz.data* file. The problem occurs when doing unit test for different 
.prm input files it cannot read this *xyz.data* file. The different .prm 
files are considered by the unit test but the *xyz.data* within each .prm 
file is not read.

Regards,
Vinayak Gholap

On Wednesday, October 4, 2017 at 8:37:23 PM UTC+2, Daniel Arndt wrote:
>
> Vinayak,
>
> you should be able to use the SOURCE_DIR preprocessor variable for this 
> purpose.
> Have a look at the test parameter_handler/parameter_handler_01 [1] for 
> example.
>
> Best,
> Daniel
>
> [1] 
> https://github.com/dealii/dealii/blob/2b9d1c13eea9cc28ad0b757c031d2e61bdb31fc1/tests/parameter_handler/parameter_handler_1.cc
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to