check the HDF5HOME and the MED2HOME environment variables. This version of
Med Memory with Med File V2.2.2, V2.2.3, as well as V2.3.0 but with the
version of HDF5 V1.6.3. In the installation of Med File you should take care
-of the $HDF5HOME environement variable. This warning is especially intended
+of the $HDF5HOME environment variable. This warning is especially intended
to the user of The Med Memory in stand alone (without the SALOME KERNEL
component).
-# You first have to set the shell environement for medcoupling
+# You first have to set the shell environment for medcoupling
all:
python addition.py
print "Imagem mesh dimension: %d"%cmesh.getSpaceDimension()
# WARN: In the current state of development of MEDLoader, only
-# unstructured meshes are supported for writting function in med
+# unstructured meshes are supported for writing function in med
# files. We just have to convert the cartesian mesh in an unstructured
# mesh before creating the field.
umesh=cmesh.buildUnstructured();
#print cmesh
# WARN: In the current state of development of MEDLoader, only
-# unstructured meshes are supported for writting function in med
+# unstructured meshes are supported for writing function in med
# files. We just have to convert the cartesian mesh in an unstructured
# mesh before creating the field.
umesh=cmesh.buildUnstructured();
print "Imagem mesh dimension: %d"%cmesh.getSpaceDimension()
# WARN: In the current state of development of MEDLoader, only
- # unstructured meshes are supported for writting function in med
+ # unstructured meshes are supported for writing function in med
# files. We just have to convert the cartesian mesh in an unstructured
# mesh before creating the field.
umesh=cmesh.buildUnstructured();
-# You first have to set the shell environement for medcoupling
+# You first have to set the shell environment for medcoupling
# (see medcoupling/env.sh)
all:
-# You first have to set the shell environement for medcoupling
+# You first have to set the shell environment for medcoupling
# (see medcoupling/env.sh)
all:
-# You first have to set the shell environement for medcoupling
+# You first have to set the shell environment for medcoupling
# (see medcoupling/env.sh)
all:
-# You first have to set the shell environement for medcoupling
+# You first have to set the shell environment for medcoupling
# (see medcoupling/env.sh)
all:
XmedConsoleDriver* getConsoleDriver() { return _consoleDriver; }
public slots:
- // Slots overiding TreeGuiManager
+ // Slots overriding TreeGuiManager
void processItemList(QStringList itemNameIdList, int actionId);
// Internal slots
// then get the result you are interested in, using the corresponding
// "result*" function.
//
-// 2) Alternativly, you can just call directly the suitable master
+// 2) Alternatively, you can just call directly the suitable master
// "get*" function to process and get the result you are interested
// in.
//
print "Imagem mesh dimension: %d"%cmesh.getSpaceDimension()
# WARN: In the current state of development of MEDLoader, only
- # unstructured meshes are supported for writting function in med
+ # unstructured meshes are supported for writing function in med
# files. We just have to convert the cartesian mesh in an unstructured
# mesh before creating the field.
umesh=cmesh.buildUnstructured();
}
std::vector<TypeOfField> types=GetTypesOfField(fname,meshNames[0].c_str(),fieldName);
if(types.empty())
- throw INTERP_KERNEL::Exception("MEDCalculatorBrowserField::MEDCalculatorBrowserField : the file is not loadable using MED File 3 API ! Problably presence of field on edges faces...");
+ throw INTERP_KERNEL::Exception("MEDCalculatorBrowserField::MEDCalculatorBrowserField : the file is not loadable using MED File 3 API ! Probably presence of field on edges faces...");
_type=types[0];//To improve
MCAuto<MEDCouplingFieldDouble> tmpf;
try
std::vector<int> ids2=other._t.getIds(other._time_steps.size());
unsigned int sz=ids.size();
if(sz!=ids2.size())
- throw INTERP_KERNEL::Exception("FieldReal::operator= : Timesteps lengthes mismatch !");
+ throw INTERP_KERNEL::Exception("FieldReal::operator= : Timesteps lengths mismatch !");
fetchData();
other.fetchData();
for(unsigned int i=0;i<sz;i++)
std::vector<int> ids=_t.getIds(_time_steps.size());
std::vector<int> ids2=other._t.getIds(other._time_steps.size());
if(ids.size()!=ids2.size())
- throw INTERP_KERNEL::Exception("FieldReal::add : Timesteps lengthes mismatch !");
+ throw INTERP_KERNEL::Exception("FieldReal::add : Timesteps lengths mismatch !");
int step=ids[0];
int step2=ids2[0];
const MEDCouplingMesh *mesh=_time_steps[step]->getMesh(_type,_file_name,_mesh_name,_field_name);
std::vector<int> ids=_t.getIds(_time_steps.size());
std::vector<int> ids2=other._t.getIds(other._time_steps.size());
if(ids.size()!=ids2.size())
- throw INTERP_KERNEL::Exception("FieldReal::substract : Timesteps lengthes mismatch !");
+ throw INTERP_KERNEL::Exception("FieldReal::substract : Timesteps lengths mismatch !");
int step=ids[0];
int step2=ids2[0];
const MEDCouplingMesh *mesh=_time_steps[step]->getMesh(_type,_file_name,_mesh_name,_field_name);
std::vector<int> ids=_t.getIds(_time_steps.size());
std::vector<int> ids2=other._t.getIds(other._time_steps.size());
if(ids.size()!=ids2.size())
- throw INTERP_KERNEL::Exception("FieldReal::multiply : Timesteps lengthes mismatch !");
+ throw INTERP_KERNEL::Exception("FieldReal::multiply : Timesteps lengths mismatch !");
int step=ids[0];
int step2=ids2[0];
const MEDCouplingMesh *mesh=_time_steps[step]->getMesh(_type,_file_name,_mesh_name,_field_name);
std::vector<int> ids=_t.getIds(_time_steps.size());
std::vector<int> ids2=other._t.getIds(other._time_steps.size());
if(ids.size()!=ids2.size())
- throw INTERP_KERNEL::Exception("FieldReal::divide : Timesteps lengthes mismatch !");
+ throw INTERP_KERNEL::Exception("FieldReal::divide : Timesteps lengths mismatch !");
int step=ids[0];
int step2=ids2[0];
const MEDCouplingMesh *mesh=_time_steps[step]->getMesh(_type,_file_name,_mesh_name,_field_name);
std::vector<int> ids2=other._t.getIds(other._time_steps.size());
unsigned int sz=ids.size();
if(sz!=ids2.size())
- throw INTERP_KERNEL::Exception("FieldReal::dot : Timesteps lengthes mismatch !");
+ throw INTERP_KERNEL::Exception("FieldReal::dot : Timesteps lengths mismatch !");
ret->_time_steps.resize(sz);
for(unsigned int i=0;i<sz;i++)
ret->_time_steps[i]=_time_steps[ids[i]]->dot(other._time_steps[ids2[i]],_c_labels.size(),_c,other._c_labels.size(),other._c);
std::vector<int> ids2=other._t.getIds(other._time_steps.size());
unsigned int sz=ids.size();
if(sz!=ids2.size())
- throw INTERP_KERNEL::Exception("FieldReal::crossProduct : Timesteps lengthes mismatch !");
+ throw INTERP_KERNEL::Exception("FieldReal::crossProduct : Timesteps lengths mismatch !");
ret->_time_steps.resize(sz);
for(unsigned int i=0;i<sz;i++)
ret->_time_steps[i]=_time_steps[ids[i]]->crossProduct(other._time_steps[ids2[i]],_c_labels.size(),_c,other._c_labels.size(),other._c);
std::string MEDCalculatorDBFieldReal::getInfoOnComponent(int i) const throw(INTERP_KERNEL::Exception)
{
if(i>=(int)_c_labels.size())
- throw INTERP_KERNEL::Exception("MEDCalculatorDBFieldReal::getInfoOnComponent : sepcified id >= number of component !");
+ throw INTERP_KERNEL::Exception("MEDCalculatorDBFieldReal::getInfoOnComponent : specified id >= number of component !");
return _c_labels[i];
}
void MEDCalculatorDBFieldReal::setInfoOnComponent(int i, const char *info) throw(INTERP_KERNEL::Exception)
{
if(i>=(int)_c_labels.size())
- throw INTERP_KERNEL::Exception("MEDCalculatorDBFieldReal::setInfoOnComponent : sepcified id >= number of component !");
+ throw INTERP_KERNEL::Exception("MEDCalculatorDBFieldReal::setInfoOnComponent : specified id >= number of component !");
_c_labels[i]=info;
}
ret->resizeForUnserialization(tinyLV,array0,arrays);
SALOME_TYPES::ListOfLong *bigArr0;
SALOME_TYPES::ListOfDouble2 *bigArr;
- //3rd CORBA invokation to get big content
+ //3rd CORBA invocation to get big content
fieldPtr->getSerialisationData(bigArr0,bigArr);
if(bigArr0->length()!=0)
{
DataArrayInt *array0;
ret->resizeForUnserialization(tinyLV,array0);
SALOME_TYPES::ListOfLong *bigArr0;
- //3rd CORBA invokation to get big content
+ //3rd CORBA invocation to get big content
fieldPtr->getSerialisationData(bigArr0);
if(bigArr0->length()!=0)
{
delete tinyD;
DataArrayInt* a1=DataArrayInt::New();
DataArrayDouble* a2=DataArrayDouble::New();
- //thanks to the entry point tinyV get from the 1st CORBA invokation,
+ //thanks to the entry point tinyV get from the 1st CORBA invocation,
//resizing a1,a2 and sts.
std::vector<std::string> uselessVector;
- //vector 'uselessVector' is useless thanks to CORBA that , contrary to MPI, does not need to allocate right length of arrays before invokation
+ //vector 'uselessVector' is useless thanks to CORBA that , contrary to MPI, does not need to allocate right length of arrays before invocation
meshCpp->resizeForUnserialization(tinyV,a1,a2,uselessVector);
SALOME_TYPES::ListOfLong *a1Corba;
SALOME_TYPES::ListOfDouble *a2Corba;
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-// MED MEDGUI : MED component GUI implemetation
+// MED MEDGUI : MED component GUI implementation
// File : MEDGUIFileContentDial.cxx
// Module : MED
#include "MEDGUIFileContentDial.h"
}
// Show in red the corresponding meshes from a field or a step or a field hoovered by mouse
-// First clean alrady colored meshes list (color back in black and empty coloredMeshes vector)
+// First clean already colored meshes list (color back in black and empty coloredMeshes vector)
// Then, get the id of the MEDGUILiteStruct corresponding to the currently hovered item
// Get corresponding meshes as string from the currently hovered item
// Get the corresponding root of the meshes QTreeWidget from the root of the fields QTreeWidget
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-// MED MEDGUI : MED component GUI implemetation
+// MED MEDGUI : MED component GUI implementation
// File : MEDGUIFileContentDial.h
// Module : MED
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-// MED MEDGUI : MED component GUI implemetation
+// MED MEDGUI : MED component GUI implementation
// File : MEDGUISelectComponents.cxx
// Module : MED
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-// MED MEDGUI : MED component GUI implemetation
+// MED MEDGUI : MED component GUI implementation
// File : MEDGUISelectComponents.h
// Module : MED
//