Skip to content

Commit

Permalink
fix for manufactured solution via services
Browse files Browse the repository at this point in the history
  • Loading branch information
mohd-afeef-badri committed Aug 30, 2024
1 parent 13f9220 commit bf55be6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fourier/FemModule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -329,16 +329,16 @@ _solve()
m_u[node] = v;
}

if (options()->manufacturedSolution.isPresent()) {
for (BC::IManufacturedSolution* bs : options()->boundaryConditions()->manufacturedSolutions())
ENUMERATE_ (Node, inode, ownNodes()) {
Node node = *inode;
m_u_exact[node] = m_manufactured_dirichlet->apply(lambda, m_node_coord[node]);
}
}
}

m_u.synchronize();
if (options()->manufacturedSolution.isPresent())

for (BC::IManufacturedSolution* bs : options()->boundaryConditions()->manufacturedSolutions())
m_u_exact.synchronize();
}

Expand Down

0 comments on commit bf55be6

Please sign in to comment.