gridin.read_exodusii to import exodusii mesh in dealii 9.5.1 fails

26 views
Skip to first unread message

Sina Tajfirooz

unread,
Mar 29, 2024, 7:32:45 AM3/29/24
to deal.II User Group
Dear developers/users,

How can I import an exodusii mesh in dealii version 9.5.1, which is configured with Trilinos?

doing

"
    gridin.attach_triangulation(triangulation);
    std::ifstream f(case_path + "mesh.exo");
    gridin.read_exodusii(f);

"

raises the error:
"
 error: no matching function for call to ‘dealii::GridIn<3>::read_exodusii(std::ifstream&)’
     gridin.read_exodusii(f);
"

How can I resolve this?

Best,
Sina

Daniel Arndt

unread,
Mar 29, 2024, 9:04:08 AM3/29/24
to dea...@googlegroups.com
Sina,

You'll have to provide the path directly as a function argument, i.e.,

gridin.read_exodusii(case_path + "mesh.exo");

Best,
Daniel
> --
> 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+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/2ea642fb-b3fb-480f-88e7-2b2c96a264e2n%40googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages