Skip to content
Snippets Groups Projects
Commit 420fb595 authored by Matteo Cicuttin's avatar Matteo Cicuttin
Browse files

Fixed MPI bug.

parent 9b8f2524
No related branches found
No related tags found
No related merge requests found
......@@ -154,6 +154,13 @@ struct surface_descriptor
std::vector<face_number> face_numbers;
surface_descriptor()
: surface_entity(0), adjacent_volume_entity(0)
#ifdef USE_MPI
, parent_entity(-1)
#endif /* USE_MPI */
{}
void add_face(size_t local_num, size_t global_num)
{
face_number fn;
......
......@@ -152,7 +152,6 @@ eval_boundary_sources_new(const model& mod, const parameter_loader& mpl,
auto etag = e.material_tag();
auto mtag = sd.material_tag();
switch ( mpl.boundary_type( mtag ) )
{
case boundary_condition::UNSPECIFIED:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment