0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion

= Allow viscous layers on boundary EDGEs of a 2D sub-mesh

In GetUVPtStruct(), update normParam when reloading points from a proxy
mesh in a reversed order
This commit is contained in:
eap 2013-06-04 15:03:15 +00:00
parent dccff92fcb
commit 9ebd1fea41

View File

@ -362,7 +362,11 @@ const vector<UVPtStruct>& StdMeshers_FaceSide::GetUVPtStruct(bool isXConst,
double du1 = edgeUVPtStruct.back().param - edgeUVPtStruct[0].param;
double du2 = myLast[iE] - myFirst[iE];
if ( du1 * du2 < 0 )
{
std::reverse( & points[iPt], & points[iPt + edgeUVPtStruct.size()]);
for ( size_t i = 0; i < edgeUVPtStruct.size(); ++i )
points[iPt+i].normParam = 1. - points[iPt+i].normParam;
}
// update normalized params
if ( myEdge.size() > 1 ) {
for ( size_t i = 0; i < edgeUVPtStruct.size(); ++i, ++iPt )