IPAL52926: NETGENPLUGIN User's Guide documentation: screenshot should be updated
Doc updated
IPAL52936: [NETGEN] Unset Local size is incorrectly dumped
hyp impl and a resource file fixed
mesh boundary, which is beneficial for high quality viscous
computations. The prisms constructed on the quadrangular mesh faces are
actually the hexahedrons.</li>
-</ul>
<li><b>Quadrangle Preference</b> - This additional hypothesis can be
used together with Netgen 2D algorithm.
It allows Netgen 2D to build quad-dominant meshes.</li>
+</ul>
<br>
For more detailed description of the described above hypothesis please refer SALOME Mesh User's Guide.
constructed as a transition from quadrangles to tetrahedra.
- Generating 3D meshes from 2D meshes, working without geometrical objects.
-To manage parameters of the NETGENPLUGIN use \subpage
-netgen_2d_3d_hypo_page and \subpage additional_hypo_page.
+To manage parameters of the NETGENPLUGIN use
+\subpage netgen_2d_3d_hypo_page and \subpage additional_hypo_page.
Native Netgen mesher usually prints a lot of trace output to the terminal
window. This output is redirected to some log file by the Plugin. It
then size of mesh segments and mesh faces on curved edges and surfaces
is defined using value of <b>Nb Segs per Radius</b> parameter, and
number of segments on straight edges is defined by values of
-<b>Nb. Segs per Edge</b> parameter. If this box is not checked in,
-then size of elements is defined by three parameters only:
+<b>Nb. Segs per Edge</b> parameter. (<b>Growth rate</b> is also taken
+into account.) If this box is not checked in, then size of elements is
+defined by three parameters only:
<b>Max Size</b>, <b>Min Size</b> and <b>Growth rate</b>.
- <b>Allow Quadrangles</b> - if this box is checked in, the mesher
tries to generate quadrangle 2D mesh. Triangle elements are created
dim="3">
<python-wrap>
<accumulative-methods>
- SetLocalSizeOnShape
+ SetLocalSizeOnShape,
+ UnsetLocalSizeOnEntry
</accumulative-methods>
</python-wrap>
</hypothesis>
dim="2">
<python-wrap>
<accumulative-methods>
- SetLocalSizeOnShape
+ SetLocalSizeOnShape,
+ UnsetLocalSizeOnEntry
</accumulative-methods>
</python-wrap>
</hypothesis>
dim="3">
<python-wrap>
<accumulative-methods>
- SetLocalSizeOnShape
+ SetLocalSizeOnShape,
+ UnsetLocalSizeOnEntry
</accumulative-methods>
</python-wrap>
</hypothesis>
dim="2">
<python-wrap>
<accumulative-methods>
- SetLocalSizeOnShape
+ SetLocalSizeOnShape,
+ UnsetLocalSizeOnEntry
</accumulative-methods>
</python-wrap>
</hypothesis>
h_data.myAllowQuadrangles = h->GetQuadAllowed();
}
- NETGENPluginGUI_HypothesisCreator* that = (NETGENPluginGUI_HypothesisCreator*)this;
+ NETGENPluginGUI_HypothesisCreator* that = (NETGENPluginGUI_HypothesisCreator*)this;
NETGENPlugin::string_array_var myEntries = h->GetLocalSizeEntries();
- for ( int i=0 ; i<myEntries->length() ; i++ )
+ for ( size_t i = 0; i < myEntries->length(); i++ )
{
QString entry = myEntries[i].in();
double val = h->GetLocalSizeOnEntry(entry.toStdString().c_str());
SALOME_ListIO ListSelectedObjects;
mySel->selectedObjects(ListSelectedObjects, NULL, false );
SALOME_ListIteratorOfListIO Object_It(ListSelectedObjects);
- for (Object_It ; Object_It.More() ; Object_It.Next())
+ for ( ; Object_It.More() ; Object_It.Next())
{
Handle(SALOME_InteractiveObject) anObject = Object_It.Value();
std::string entry, shapeName;
void NETGENPlugin_Hypothesis::SetLocalSizeOnEntry(const std::string& entry, double localSize)
{
if(_localSize[entry] != localSize)
- {
- _localSize[entry] = localSize;
- NotifySubMeshesHypothesisModification();
- }
+ {
+ _localSize[entry] = localSize;
+ NotifySubMeshesHypothesisModification();
+ }
}
//=============================================================================
/*!
- *
+ *
*/
//=============================================================================
double NETGENPlugin_Hypothesis::GetLocalSizeOnEntry(const std::string& entry)
void NETGENPlugin_Hypothesis_i::UnsetLocalSizeOnEntry(const char* entry)
{
this->GetImpl()->UnsetLocalSizeOnEntry(entry);
- SMESH::TPythonDump() << _this() << ".UnsetLocalSizeOnEntry(" << entry << ")";
+ SMESH::TPythonDump() << _this() << ".UnsetLocalSizeOnEntry(\"" << entry << "\")";
}
//=============================================================================