parameter;
- the getValueI (resp. setValueI) should be replaced by getRow(int )
(resp. setRow(int ,T*) if the field is in full interlacing mode (using the
- method getInterlacingType() of the classe FIELD_). If the field is stored in
+ method getInterlacingType() of the class FIELD_). If the field is stored in
no interlacing mode getValueIJ (resp. setValueIJ) should be replaced by
getColumn(int ) (resp. setColumn(int ,T*)).
_fieldHandlerMap[fieldHandler->id] = fieldHandler;
// >>> WARNING: CORBA struct specification indicates that the
- // assignement acts as a desctructor for the structure that is
- // pointed to. The values of the fields are copy first in the new
- // structure that receives the assignement and finally the initial
+ // assignment acts as a destructor for the structure that its
+ // pointed to. The values of the fields are copied first in the new
+ // structure that receives the assignment and finally the initial
// structure is destroyed. In the present case, WE WANT to keep
// the initial fieldHandler in the map. We must then make a deep
// copy of the structure found in the map and return the copy. The
SALOME. Nevertheless, it is possible for low-weight deployment to
install only the MEDMEM library from the source files embedded in the
SALOME MED module. Keep in mind that the MEDMEM library is designed to
-be a self-consistent library with very few third party softwares (only
+be a self-consistent library with very few third party software (only
med-file, glibc and mpi typically). In particular, it is strictly
independent from the SALOME framework even if it distributed with
SALOME for convenience reasons.
// As a consequence, before loading values of a field, we have
// to determine the types of spatial discretization defined for
- // this field and to chooose one.
+ // this field and to choose one.
vector<TypeOfField> listOfTypes = GetTypesOfField(filepath,
meshName,
/*!
* This function returns the list of mesh handlers associated to the
- * specified datasource. It corresponds to the list ofmeshes defined
+ * specified datasource. It corresponds to the list of meshes defined
* in the datasource.
*/
MEDCALC::MeshHandlerList * MEDDataManager_i::getMeshHandlerList(CORBA::Long datasourceId) {
- // We initiate a list with the maximum lentgh
+ // We initiate a list with the maximum length
MEDCALC::MeshHandlerList_var meshHandlerList = new MEDCALC::MeshHandlerList();
meshHandlerList->length(_meshHandlerMap.size());
* specified mesh.
*/
MEDCALC::FieldseriesHandlerList * MEDDataManager_i::getFieldseriesListOnMesh(CORBA::Long meshId) {
- // We initiate a list with the maximum lentgh
+ // We initiate a list with the maximum length
MEDCALC::FieldseriesHandlerList_var
fieldseriesHandlerList = new MEDCALC::FieldseriesHandlerList();
fieldseriesHandlerList->length(_fieldseriesHandlerMap.size());
*/
MEDCALC::FieldHandlerList * MEDDataManager_i::getFieldListInFieldseries(CORBA::Long fieldseriesId) {
- // We initiate a list with the maximum lentgh
+ // We initiate a list with the maximum length
MEDCALC::FieldHandlerList_var fieldHandlerList = new MEDCALC::FieldHandlerList();
fieldHandlerList->length(_fieldHandlerMap.size());
FieldHandlerMapIterator fieldIt = _fieldHandlerMap.find(fieldHandlerId);
if ( fieldIt != _fieldHandlerMap.end() ) {
// >>> WARNING: CORBA struct specification indicates that the
- // assignement acts as a desctructor for the structure that is
- // pointed to. The values of the fields are copy first in the new
- // structure that receives the assignement and finally the initial
+ // assignment acts as a destructor for the structure that its
+ // pointed to. The values of the fields are copied first in the new
+ // structure that receives the assignment and finally the initial
// structure is destroyed. In the present case, WE WANT to keep
// the initial fieldHandler in the map. We must then make a deep
// copy of the structure found in the map and return the copy. The
* i.e. the MEDCoupling field associated to the specified field
* handler. If the field source is a file and the data ar not loaded
* yet, the this function load the data from the file in a MEDCoupling
- * field instance. Otherwize, it just returns the MEDCoupling field
+ * field instance. Otherwise, it just returns the MEDCoupling field
* instance.
*/
MEDCouplingFieldDouble * MEDDataManager_i::getFieldDouble(const MEDCALC::FieldHandler * fieldHandler)
// WARN: note that the variables "iteration" and "order" are passed
// by reference to the function getTime (see documentation of
// MEDCouplingField). As a consequence, the values of these
- // variables are updated by this function call. This is the mean to
+ // variables are updated by this function call. This is the means to
// retrieve the iteration and order of the field.
double timestamp = fieldDouble->getTime(iteration, order);
source->c_str());
if ( meshHandlerId == LONG_UNDEFINED ) {
- // We have to gess the id of the underlying mesh to preserve data
+ // We have to guess the id of the underlying mesh to preserve data
// integrity (a fieldHandler must have an attribute that contains
// the id of its underlying mesh):
//
_fieldHandlerMap[fieldHandler->id] = fieldHandler;
_fieldDoubleMap[fieldHandler->id] = fieldDouble;
- // >>> WARNING: CORBA structure assignement specification ==> return
+ // >>> WARNING: CORBA structure assignment specification ==> return
// >>> a deep copy to avoid the destruction of the fieldHandler
- // >>> registered in the map (assignement acts as a destructor for
+ // >>> registered in the map (assignment acts as a destructor for
// >>> CORBA struct).
return new MEDCALC::FieldHandler(*fieldHandler);
}
except SALOME.SALOME_Exception, e:
medcalc.wrn("The event listener is not running yet")
msg ="When you'll have loaded the MED GUI, "
- msg+="call explicitely \"medcalc.medevents.connectEventListener()\" "
+ msg+="call explicitly \"medcalc.medevents.connectEventListener()\" "
msg+="to connect the GUI event listener"
medcalc.inf(msg)
__eventListener = None
}
}
-// Show the selection on standart output using std::cout and str methods from MEDGUILiteStruct
+// Show the selection on standard output using std::cout and str methods from MEDGUILiteStruct
void MEDGUIFileContentDial::sendSelectionToDB()
{
std::vector<ParaMEDMEM::MEDCalculatorBrowserLiteStruct> lt2send2db;
}
-// Methode to set all elements of a MEDGUILiteStruct to (un)selected according to a string (such as "all", "none", ...)
+// Method to set all elements of a MEDGUILiteStruct to (un)selected according to a string (such as "all", "none", ...)
// 3 cases :
// - you want to select all time steps of all fields, the selection is made directly
// - you want to unselect all time steps of all fields, the unselection is made directly
}
}
-// Methode to set all elements of a MEDGUIField to (un)selected according to a string (such as "all", "none", ...)
+// Method to set all elements of a MEDGUIField to (un)selected according to a string (such as "all", "none", ...)
// If empty string, no change are made
// Else :
// First get the file and field id
}
}
-// Methode to set all elements of a MEDGUIField when selection is made from a MEDGUIStep to (un)selected according to a string (such as "all", "none", ...)
+// Method to set all elements of a MEDGUIField when selection is made from a MEDGUIStep to (un)selected according to a string (such as "all", "none", ...)
// Calling it on a step is the same as calling it from is father (the corresponding field)
void MEDGUIFileContentDial::selFromStep(QTreeWidgetItem* qtwi,QString sel)
{
protected:
void changeEvent(QEvent *e);
- void selFromFile(QTreeWidgetItem*, QString);// Methode to set all elements of a MedGUI_LiteStruct to (un)selected according to a string (such as "all", "none", ...)
- void selFromField(QTreeWidgetItem*, QString);// Methode to set all elements of a MedGUI_Field to (un)selected according to a string (such as "all", "none", ...)
- void selFromStep(QTreeWidgetItem*,QString);// Methode to set all elements of a MedGUI_Field when selection is made from a MedGUI_Step to (un)selected according to a string (such as "all", "none", ...)
+ void selFromFile(QTreeWidgetItem*, QString);// Method to set all elements of a MedGUI_LiteStruct to (un)selected according to a string (such as "all", "none", ...)
+ void selFromField(QTreeWidgetItem*, QString);// Method to set all elements of a MedGUI_Field to (un)selected according to a string (such as "all", "none", ...)
+ void selFromStep(QTreeWidgetItem*,QString);// Method to set all elements of a MedGUI_Field when selection is made from a MedGUI_Step to (un)selected according to a string (such as "all", "none", ...)
public slots:
void openFile();// Create a new MedGUI_LiteStruct from a file and add content to QTreeWidgets