Skip to content
Snippets Groups Projects
Commit 3f833825 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[md][facet][box] Fix LowDimCouplingContext

* resize local objects
* fixes clang error
parent 9d335436
No related branches found
No related tags found
1 merge request!1188Fix clang compiler errors
......@@ -158,9 +158,9 @@ class FacetCouplingManager<MDTraits, CouplingMapper, bulkDomainId, lowDimDomainI
template<bool s = bulkIsSurfaceGrid, std::enable_if_t<s, int> = 0>
void resize(std::size_t numEmbedments)
{
lowDimContext_.bulkFvGeometries.resize(numEmbedments, nullptr);
lowDimContext_.bulkElemVolVars.resize(numEmbedments, nullptr);
lowDimContext_.bulkElemFluxVarsCache.resize(numEmbedments, nullptr);
bulkFvGeometries.resize(numEmbedments, nullptr);
bulkElemVolVars.resize(numEmbedments, nullptr);
bulkElemFluxVarsCache.resize(numEmbedments, nullptr);
bulkElemBcTypes.resize(numEmbedments);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment