Skip to content

Commit

Permalink
Not enough memory available in the heap for unconfined models (#119)
Browse files Browse the repository at this point in the history
* unsafe delete for unconfined benchmark

new: memory for array for maximum size.

* unsafe delete for unconfined benchmark

new: memory for array for maximum size.

* Allow $EPSILON for ST, in the same way like for BCs

Consisten with BC: The user is getting a choice to specify the tolreance in ST or taking the default or using the one from GLI.

* Revert "Allow $EPSILON for ST, in the same way like for BCs"

This reverts commit 4dcd7a6.
  • Loading branch information
Thomas-TK authored and bilke committed Dec 3, 2018
1 parent be55bf8 commit b6c8588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MSH/msh_lib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ void MSHSelectFreeSurfaceNodes(MeshLib::CFEMesh* m_msh)
size_t NumberOfNodesPerLayer = m_msh->nod_vector.size() / (m_msh->getNumberOfMeshLayers() + 1);
size_t no_unconfined_layer = 0;
// create array with nodes in vertical column
size_t* strang(new size_t[m_msh->getNumberOfMeshLayers()]);
size_t* strang(new size_t[m_msh->getNumberOfMeshLayers()*2]);
for (size_t i = 0; i < NumberOfNodesPerLayer; i++)
{
if (m_msh->nod_vector[i]->free_surface == 4)
Expand Down

0 comments on commit b6c8588

Please sign in to comment.