mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 01:30:34 +05:00
Typo fixes by Kunda
https://salome-platform.org/forum/forum_9/495080934
This commit is contained in:
parent
66f913b253
commit
fad0945128
@ -1324,7 +1324,7 @@ module SMESH
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Create a slot of given width around given 1D elements lying on a triangle mesh.
|
* \brief Create a slot of given width around given 1D elements lying on a triangle mesh.
|
||||||
* The slot is consrtucted by cutting faces by cylindrical surfaces made
|
* The slot is constructed by cutting faces by cylindrical surfaces made
|
||||||
* around each segment. Segments are expected to be created by MakePolyLine().
|
* around each segment. Segments are expected to be created by MakePolyLine().
|
||||||
* \return Edges located at the slot boundary
|
* \return Edges located at the slot boundary
|
||||||
*/
|
*/
|
||||||
|
@ -510,7 +510,7 @@ public:
|
|||||||
/*!
|
/*!
|
||||||
* \brief Define a pointer to wrapper over a function of gp_XY class,
|
* \brief Define a pointer to wrapper over a function of gp_XY class,
|
||||||
* suitable to pass as xyFunPtr to ApplyIn2D().
|
* suitable to pass as xyFunPtr to ApplyIn2D().
|
||||||
* For exaple gp_XY_FunPtr(Added) defines pointer gp_XY_Added to function
|
* For example gp_XY_FunPtr(Added) defines pointer gp_XY_Added to function
|
||||||
* calling gp_XY::Added(gp_XY), which is to be used like following
|
* calling gp_XY::Added(gp_XY), which is to be used like following
|
||||||
* ApplyIn2D(surf, uv1, uv2, gp_XY_Added)
|
* ApplyIn2D(surf, uv1, uv2, gp_XY_Added)
|
||||||
*/
|
*/
|
||||||
|
@ -1133,7 +1133,7 @@ void SMESHGUI_BaseComputeOp::showComputeResult( const bool theMemoryLack,
|
|||||||
aCompDlg->myFullInfo->hide();
|
aCompDlg->myFullInfo->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
// pbs of hypo dfinitions
|
// pbs of hypo definitions
|
||||||
if ( theNoHypoError ) {
|
if ( theNoHypoError ) {
|
||||||
aCompDlg->myHypErrorGroup->hide();
|
aCompDlg->myHypErrorGroup->hide();
|
||||||
} else {
|
} else {
|
||||||
|
@ -489,7 +489,7 @@ SMESHGUI_GenericHypothesisCreator::ListOfWidgets& SMESHGUI_GenericHypothesisCrea
|
|||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief Returns a QLabel of a spesified parameter.
|
* \brief Returns a QLabel of a specified parameter.
|
||||||
* If isCreation(), the 1st label (supposed to be "Name") is not countered.
|
* If isCreation(), the 1st label (supposed to be "Name") is not countered.
|
||||||
*/
|
*/
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
@ -2329,7 +2329,7 @@ int SMESHGUI_MeshOp::find( const SMESH::SMESH_Hypothesis_var& theHyp,
|
|||||||
* \param theMess - Output parameter intended for returning error message
|
* \param theMess - Output parameter intended for returning error message
|
||||||
* \retval bool - TRUE if mesh is edited successfully, FALSE otherwise
|
* \retval bool - TRUE if mesh is edited successfully, FALSE otherwise
|
||||||
*
|
*
|
||||||
* Assigns new name hypotheses and algoriths to the mesh or sub-mesh
|
* Assigns new name hypotheses and algorithms to the mesh or sub-mesh
|
||||||
*/
|
*/
|
||||||
//================================================================================
|
//================================================================================
|
||||||
bool SMESHGUI_MeshOp::editMeshOrSubMesh( QString& theMess )
|
bool SMESHGUI_MeshOp::editMeshOrSubMesh( QString& theMess )
|
||||||
|
@ -870,7 +870,7 @@ FindElementsByPoint(const gp_Pnt& point,
|
|||||||
/*!
|
/*!
|
||||||
* \brief Find an element of given type most close to the given point
|
* \brief Find an element of given type most close to the given point
|
||||||
*
|
*
|
||||||
* WARNING: Only face search is implemeneted so far
|
* WARNING: Only edge, face and volume search is implemented so far
|
||||||
*/
|
*/
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
|
@ -500,7 +500,7 @@ namespace SMESH_MeshAlgos
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Create a slot of given width around given 1D elements lying on a triangle mesh.
|
* Create a slot of given width around given 1D elements lying on a triangle mesh.
|
||||||
* The slot is consrtucted by cutting faces by cylindrical surfaces made around each segment.
|
* The slot is constructed by cutting faces by cylindrical surfaces made around each segment.
|
||||||
* \return Edges located at the slot boundary
|
* \return Edges located at the slot boundary
|
||||||
*/
|
*/
|
||||||
// Implemented in ./SMESH_Slot.cxx
|
// Implemented in ./SMESH_Slot.cxx
|
||||||
|
@ -518,7 +518,7 @@ namespace
|
|||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief Create a slot of given width around given 1D elements lying on a triangle mesh.
|
* \brief Create a slot of given width around given 1D elements lying on a triangle mesh.
|
||||||
* The slot is consrtucted by cutting faces by cylindrical surfaces made around each segment.
|
* The slot is constructed by cutting faces by cylindrical surfaces made around each segment.
|
||||||
* \return Edges located at the slot boundary
|
* \return Edges located at the slot boundary
|
||||||
*/
|
*/
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
@ -724,7 +724,7 @@ StudyContext* SMESH_Gen_i::GetStudyContext()
|
|||||||
/*!
|
/*!
|
||||||
* SMESH_Gen_i::CreateHypothesis
|
* SMESH_Gen_i::CreateHypothesis
|
||||||
*
|
*
|
||||||
* Create hypothesis/algorothm of given type and publish it in the study
|
* Create hypothesis/algorithm of given type and publish it in the study
|
||||||
*/
|
*/
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@ public:
|
|||||||
// Update study
|
// Update study
|
||||||
void UpdateStudy();
|
void UpdateStudy();
|
||||||
|
|
||||||
// Create hypothesis/algorothm of given type
|
// Create hypothesis/algorithm of given type
|
||||||
SMESH::SMESH_Hypothesis_ptr CreateHypothesis (const char* theHypType,
|
SMESH::SMESH_Hypothesis_ptr CreateHypothesis (const char* theHypType,
|
||||||
const char* theLibName)
|
const char* theLibName)
|
||||||
throw ( SALOME::SALOME_Exception );
|
throw ( SALOME::SALOME_Exception );
|
||||||
|
@ -7490,7 +7490,7 @@ void SMESH_MeshEditor_i::MakePolyLine(SMESH::ListOfPolySegments& theSegments,
|
|||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief Create a slot of given width around given 1D elements lying on a triangle mesh.
|
* \brief Create a slot of given width around given 1D elements lying on a triangle mesh.
|
||||||
* The slot is consrtucted by cutting faces by cylindrical surfaces made
|
* The slot is constructed by cutting faces by cylindrical surfaces made
|
||||||
* around each segment. Segments are expected to be created by MakePolyLine().
|
* around each segment. Segments are expected to be created by MakePolyLine().
|
||||||
* \return Edges located at the slot boundary
|
* \return Edges located at the slot boundary
|
||||||
*/
|
*/
|
||||||
|
@ -943,7 +943,7 @@ public:
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Create a slot of given width around given 1D elements lying on a triangle mesh.
|
* \brief Create a slot of given width around given 1D elements lying on a triangle mesh.
|
||||||
* The slot is consrtucted by cutting faces by cylindrical surfaces made
|
* The slot is constructed by cutting faces by cylindrical surfaces made
|
||||||
* around each segment. Segments are expected to be created by MakePolyLine().
|
* around each segment. Segments are expected to be created by MakePolyLine().
|
||||||
* \return Edges located at the slot boundary
|
* \return Edges located at the slot boundary
|
||||||
*/
|
*/
|
||||||
|
@ -954,7 +954,7 @@ namespace {
|
|||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief Createa a Dump Python script
|
* \brief Creates a Dump Python script
|
||||||
* \param [in,out] theObjectNames - map of an entry to a study and python name
|
* \param [in,out] theObjectNames - map of an entry to a study and python name
|
||||||
* \param [in] theNames - - map of an entry to a study name
|
* \param [in] theNames - - map of an entry to a study name
|
||||||
* \param [in] isPublished - \c true if dump of object publication in study is needed
|
* \param [in] isPublished - \c true if dump of object publication in study is needed
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# force SMESH importation at interpretor initialization
|
# force SMESH importation at interpreter initialization
|
||||||
# see salome_shared_modules.py
|
# see salome_shared_modules.py
|
||||||
# (avoids incomplete import at run time)
|
# (avoids incomplete import at run time)
|
||||||
|
|
||||||
|
@ -6917,7 +6917,7 @@ class Mesh(metaclass = MeshMeta):
|
|||||||
def MakeSlot(self, segmentGroup, width ):
|
def MakeSlot(self, segmentGroup, width ):
|
||||||
"""
|
"""
|
||||||
Create a slot of given width around given 1D elements lying on a triangle mesh.
|
Create a slot of given width around given 1D elements lying on a triangle mesh.
|
||||||
The slot is consrtucted by cutting faces by cylindrical surfaces made
|
The slot is constructed by cutting faces by cylindrical surfaces made
|
||||||
around each segment. Segments are expected to be created by MakePolyLine().
|
around each segment. Segments are expected to be created by MakePolyLine().
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
@ -1510,7 +1510,7 @@ const char* SMESH_Swig::AddNewAlgorithm(const char* ior, const char* name)
|
|||||||
|
|
||||||
/////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////
|
||||||
/// \deprecated Publishing is done automatically.
|
/// \deprecated Publishing is done automatically.
|
||||||
/// \deprecated Synonim of AddNewAlgorithm().
|
/// \deprecated Synonym of AddNewAlgorithm().
|
||||||
/// \param ior IOR of the algorithm.
|
/// \param ior IOR of the algorithm.
|
||||||
/// \param name Name of the algorithm (optional).
|
/// \param name Name of the algorithm (optional).
|
||||||
/// \return UID of the data object.
|
/// \return UID of the data object.
|
||||||
|
@ -109,7 +109,7 @@ public:
|
|||||||
|
|
||||||
~StdMeshers_FaceSide();
|
~StdMeshers_FaceSide();
|
||||||
|
|
||||||
// static "consrtuctors"
|
// static "constructors"
|
||||||
static StdMeshers_FaceSidePtr New(const TopoDS_Face& Face,
|
static StdMeshers_FaceSidePtr New(const TopoDS_Face& Face,
|
||||||
const TopoDS_Edge& Edge,
|
const TopoDS_Edge& Edge,
|
||||||
SMESH_Mesh* Mesh,
|
SMESH_Mesh* Mesh,
|
||||||
|
@ -546,12 +546,12 @@ istream & StdMeshers_NumberOfSegments::LoadFrom(istream & load)
|
|||||||
// we wait here the scale factor, which is double.
|
// we wait here the scale factor, which is double.
|
||||||
// 2. If the hypothesis is stored in new format
|
// 2. If the hypothesis is stored in new format
|
||||||
// (nb.segments, distr.type, some other params.),
|
// (nb.segments, distr.type, some other params.),
|
||||||
// we wait here the ditribution type, which is integer
|
// we wait here the distribution type, which is integer
|
||||||
double scale_factor;
|
double scale_factor;
|
||||||
isOK = static_cast<bool>(load >> scale_factor);
|
isOK = static_cast<bool>(load >> scale_factor);
|
||||||
a = (int)scale_factor;
|
a = (int)scale_factor;
|
||||||
|
|
||||||
// try to interpret ditribution type,
|
// try to interpret distribution type,
|
||||||
// supposing that this hypothesis was written in the new format
|
// supposing that this hypothesis was written in the new format
|
||||||
if (isOK)
|
if (isOK)
|
||||||
{
|
{
|
||||||
|
@ -8953,7 +8953,7 @@ gp_XYZ _LayerEdge::smoothAngular()
|
|||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief Computes a new node position using weigthed node positions
|
* \brief Computes a new node position using weighted node positions
|
||||||
*/
|
*/
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
|
||||||
|
@ -457,7 +457,7 @@ namespace StdMeshersGUI
|
|||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief Returms spacing to set to a hypothesis
|
* \brief Returns spacing to set to a hypothesis
|
||||||
*/
|
*/
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@ How to save MG-Cleaner Parameters
|
|||||||
=================================
|
=================================
|
||||||
|
|
||||||
MG-Cleaner hypothesis is not meshing hypothesis for Salome, but hypothesis for MG-Cleaner.
|
MG-Cleaner hypothesis is not meshing hypothesis for Salome, but hypothesis for MG-Cleaner.
|
||||||
The current set of parameters is automatically written in the salome study object browser when you run computation.
|
The current set of parameters is automatically written in the Salome study object browser when you run computation.
|
||||||
|
|
||||||
Theses parameters could also be stored in a special file.
|
These parameters could also be stored in a special file.
|
||||||
Default file is $HOME/.MGCleaner.dat.
|
Default file is $HOME/.MGCleaner.dat.
|
||||||
This ASCII file is appended, and never cleaned.
|
This ASCII file is appended, and never cleaned.
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ This documentation covers the usage of MeshGems-Cleaner, also named MG-Cleaner o
|
|||||||
Mesh module for remeshing 2D Surface.
|
Mesh module for remeshing 2D Surface.
|
||||||
|
|
||||||
MG-Cleaner plug-in uses Distene commercial software MeshGems-Cleaner, which is an **automatic surface remeshing tool**.
|
MG-Cleaner plug-in uses Distene commercial software MeshGems-Cleaner, which is an **automatic surface remeshing tool**.
|
||||||
This plug_in offers only the most common functionnalities of the tool.
|
This plug_in offers only the most common functionalities of the tool.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
for a complete documentation, see :download:`MG-cleaner user manual <files/mg-cleaner_user_manual.pdf>`.
|
for a complete documentation, see :download:`MG-cleaner user manual <files/mg-cleaner_user_manual.pdf>`.
|
||||||
|
@ -5,9 +5,9 @@ How to save MeshGems-SurfOpt Parameters
|
|||||||
=======================================
|
=======================================
|
||||||
|
|
||||||
MeshGems-SurfOpt hypothesis is not a meshing hypothesis for Salome, but an hypothesis for MeshGems-SurfOpt.
|
MeshGems-SurfOpt hypothesis is not a meshing hypothesis for Salome, but an hypothesis for MeshGems-SurfOpt.
|
||||||
The current set of parameters is automatically written in the salome study object browser when you run computation.
|
The current set of parameters is automatically written in the Salome study object browser when you run computation.
|
||||||
|
|
||||||
Theses parameters could also be stored in a special file.
|
These parameters could also be stored in a special file.
|
||||||
Default file is $HOME/.MGSurfOpt.dat.
|
Default file is $HOME/.MGSurfOpt.dat.
|
||||||
This ASCII file is appended, and never cleaned.
|
This ASCII file is appended, and never cleaned.
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ This documentation covers the usage of MeshGems-SurfOpt as plug-in in Salome tha
|
|||||||
Mesh module for remeshing 2D Surface.
|
Mesh module for remeshing 2D Surface.
|
||||||
|
|
||||||
MeshGems-SurfOpt plug-in uses Distene commercial software MeshGems-SurfOpt, which is an **automatic surface remeshing tool**.
|
MeshGems-SurfOpt plug-in uses Distene commercial software MeshGems-SurfOpt, which is an **automatic surface remeshing tool**.
|
||||||
This plug-in offers only the most common functionnalities of the tool.
|
This plug-in offers only the most common functionalities of the tool.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
for a complete documentation, see :download:`MeshGems-SurfOpt: The automatic surface remeshing tool of the MeshGems Suite <files/mg-surfopt_user_manual.pdf>`.
|
for a complete documentation, see :download:`MeshGems-SurfOpt: The automatic surface remeshing tool of the MeshGems Suite <files/mg-surfopt_user_manual.pdf>`.
|
||||||
|
@ -10,7 +10,7 @@ as the radius of a sphere whose center is the location of the particule.
|
|||||||
Discrete meshes are typically used to modelize civil components in rapid dynamic
|
Discrete meshes are typically used to modelize civil components in rapid dynamic
|
||||||
computation problems (seisms, chocs). These components consists in concrete parts
|
computation problems (seisms, chocs). These components consists in concrete parts
|
||||||
embedding steal bares for reinforcement. These parts are input to the algorithm
|
embedding steal bares for reinforcement. These parts are input to the algorithm
|
||||||
as standard finite elements meshes. The cells of theses meshes drive the location
|
as standard finite elements meshes. The cells of these meshes drive the location
|
||||||
and sizing of particules.
|
and sizing of particules.
|
||||||
|
|
||||||
In the med representation, a discrete mesh is described as MED_BALL elements.
|
In the med representation, a discrete mesh is described as MED_BALL elements.
|
||||||
|
@ -33,7 +33,7 @@ module MESHJOB
|
|||||||
{
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Structure to transmit the parameters requiered for the job to run
|
// Structure to transmit the parameters required for the job to run
|
||||||
// the executable program on the target resource. See configure
|
// the executable program on the target resource. See configure
|
||||||
// service.
|
// service.
|
||||||
//
|
//
|
||||||
|
@ -29,7 +29,7 @@ module SPADDERPluginTest {
|
|||||||
|
|
||||||
//
|
//
|
||||||
// ========================================================================
|
// ========================================================================
|
||||||
// Thi module defines an interface provided for testing the usage
|
// This module defines an interface provided for testing the usage
|
||||||
// of SPADDERPlugin components and underlying classes from within a
|
// of SPADDERPlugin components and underlying classes from within a
|
||||||
// C++ unit test running in a SALOME container (easy to run from a
|
// C++ unit test running in a SALOME container (easy to run from a
|
||||||
// python client)..
|
// python client)..
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
protocol="ssh" batch="ssh_batch"
|
protocol="ssh" batch="ssh_batch"
|
||||||
memInMB="500" CPUFreqMHz="0" nbOfNodes="1" nbOfProcPerNode="1"/>
|
memInMB="500" CPUFreqMHz="0" nbOfNodes="1" nbOfProcPerNode="1"/>
|
||||||
|
|
||||||
<!-- Specific configuration that only works on my workstation (needs ssh authentification) -->
|
<!-- Specific configuration that only works on my workstation (needs ssh authentication) -->
|
||||||
<machine name="boulant@claui2p1"
|
<machine name="boulant@claui2p1"
|
||||||
hostname="claui2p1" userName="boulant"
|
hostname="claui2p1" userName="boulant"
|
||||||
protocol="ssh" batch="ssh_batch"
|
protocol="ssh" batch="ssh_batch"
|
||||||
memInMB="500" CPUFreqMHz="0" nbOfNodes="1" nbOfProcPerNode="1"/>
|
memInMB="500" CPUFreqMHz="0" nbOfNodes="1" nbOfProcPerNode="1"/>
|
||||||
|
|
||||||
<!-- Specific configuration that only works for nepal team (needs ssh authentification) -->
|
<!-- Specific configuration that only works for nepal team (needs ssh authentication) -->
|
||||||
<machine name="nepal@nepal"
|
<machine name="nepal@nepal"
|
||||||
hostname="nepal" userName="nepal"
|
hostname="nepal" userName="nepal"
|
||||||
protocol="ssh" batch="ssh_batch"
|
protocol="ssh" batch="ssh_batch"
|
||||||
|
@ -98,7 +98,7 @@ def loadSpadderCatalog():
|
|||||||
import SALOME_ModuleCatalog
|
import SALOME_ModuleCatalog
|
||||||
catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog)
|
catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog)
|
||||||
if not catalog:
|
if not catalog:
|
||||||
raise RuntimeError("Can't accesss module catalog")
|
raise RuntimeError("Can't access module catalog")
|
||||||
|
|
||||||
filename = getSpadderCatalogFilename()
|
filename = getSpadderCatalogFilename()
|
||||||
catalog.ImportXmlCatalogFile(filename)
|
catalog.ImportXmlCatalogFile(filename)
|
||||||
|
Loading…
Reference in New Issue
Block a user