mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-30 19:30:35 +05:00
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
- map< double, int >::reverse_iterator maxLen_i = len2edgeMap.rbegin(); + multimap< double, int >::reverse_iterator maxLen_i = len2edgeMap.rbegin();
This commit is contained in:
parent
e8589cb6af
commit
db7638e9f9
@ -2195,8 +2195,10 @@ bool StdMeshers_PrismAsBlock::Init(SMESH_MesherHelper* helper,
|
|||||||
{
|
{
|
||||||
if ( len2edgeMap.size() != nbEdges )
|
if ( len2edgeMap.size() != nbEdges )
|
||||||
RETURN_BAD_RESULT("Uniqueness of edge lengths not assured");
|
RETURN_BAD_RESULT("Uniqueness of edge lengths not assured");
|
||||||
map< double, int >::reverse_iterator maxLen_i = len2edgeMap.rbegin();
|
|
||||||
map< double, int >::reverse_iterator midLen_i = ++len2edgeMap.rbegin();
|
multimap< double, int >::reverse_iterator maxLen_i = len2edgeMap.rbegin();
|
||||||
|
multimap< double, int >::reverse_iterator midLen_i = ++len2edgeMap.rbegin();
|
||||||
|
|
||||||
double maxLen = maxLen_i->first;
|
double maxLen = maxLen_i->first;
|
||||||
double midLen = ( len2edgeMap.size() == 1 ) ? 0 : midLen_i->first;
|
double midLen = ( len2edgeMap.size() == 1 ) ? 0 : midLen_i->first;
|
||||||
switch ( nbEdges ) {
|
switch ( nbEdges ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user