- Timestamp:
- 02/18/13 15:25:37 (11 years ago)
- Location:
- XIOS/trunk/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/config/properties.conf
r286 r421 1 1 /// Author /// 2 DECLARE_PROPERTY (StdString, AUTHOR, "OZDOBA Herv é, MEURDESOIF Yann")2 DECLARE_PROPERTY (StdString, AUTHOR, "OZDOBA Herve, MEURDESOIF Yann") 3 3 4 4 /// Version number /// -
XIOS/trunk/src/node/axis.cpp
r369 r421 76 76 if (size != true_size) 77 77 ERROR("CAxis::checkAttributes(void)", 78 << " Le tableau \'value\' a une taille différente de celle indiquée dans l'attribut \'size\'")78 << "The array \'value\' has a different size that the one defined by the \'size\' attribut") 79 79 80 80 this->isChecked = true; -
XIOS/trunk/src/node/context.cpp
r369 r421 76 76 ERROR(" CContext::solveCalendar(void)", 77 77 << "[ context id = " << this->getId() << " ] " 78 << "Impossible de définir un calendrier (un attribut est manquant).");78 << "Impossible to define a calendar (an attribute is missing)."); 79 79 80 80 #define DECLARE_CALENDAR(MType , mtype) \ … … 95 95 ERROR("CContext::solveCalendar(void)", 96 96 << "[ calendar_type = " << calendar_type.getValue() << " ] " 97 << " Le calendrier n'est pas définie dans le code!");97 << "The calendar is not defined !"); 98 98 } 99 99 … … 117 117 118 118 if (node.getElementName().compare(CContext::GetName())) 119 DEBUG("Le noeud est mal nommé mais sera traité comme un contexte!");119 DEBUG("Le noeud is wrong defined but will be considered as a context !"); 120 120 121 121 if (!(node.goToChildElement())) … … 132 132 133 133 if (attributes.end() != attributes.find("id")) 134 { DEBUG(<< " Le noeud de définition possÚde un identifiant,"135 << " ce dernier ne sera pas pris en compte lors du traitement !"); }134 { DEBUG(<< "Definition node has an id," 135 << "it will not be taking account !"); } 136 136 137 137 #define DECLARE_NODE(Name_, name_) \ … … 141 141 #include "node_type.conf" 142 142 143 DEBUG(<< " L'élément nommé\'" << name144 << "\' dans le contexte\'" << CContext::getCurrent()->getId()145 << "\' ne représente pas une définition !");143 DEBUG(<< "The element \'" << name 144 << "\' in the context \'" << CContext::getCurrent()->getId() 145 << "\' is not a definition !"); 146 146 147 147 } while (node.goToNextElement()); -
XIOS/trunk/src/node/domain.cpp
r407 r421 155 155 ERROR("CDomain::checkAttributes(void)", 156 156 << "[ Id = " << this->getId() << " ] " 157 << " Le domaine global est mal défini,"158 << " vérifiez les valeurs de \'ni_glo\' et \'nj_glo\'!")157 << "The global domain is badly defined," 158 << " check the \'ni_glo\' et \'nj_glo\' values !") 159 159 } 160 160 } … … 177 177 { 178 178 ERROR("CDomain::checkAttributes(void)", 179 << " Le domaine est mal défini,"180 << " iend est différent de(ibegin + ni - 1) !") ;179 << "The domain si wrong defined," 180 << " iend is different of (ibegin + ni - 1) !") ; 181 181 } 182 182 else 183 183 { 184 184 ERROR("CDomain::checkAttributes(void)", 185 << " Le domaine est mal défini,"186 << " deux valeurs au moins parmis iend, ibegin, ni doivent être définies!") ;185 << "The domain is wrong defined," 186 << " 2 value from \'iend\', \'ibegin\', \'ni\' must be defined !") ; 187 187 } 188 188 … … 192 192 ERROR("CDomain::checkAttributes(void)", 193 193 << "[ Id = " << this->getId() << " ] " 194 << " Domaine local mal défini,"195 << " vérifiez les valeursni, ni_glo, ibegin, iend") ;194 << "Local domain is wrong defined," 195 << " Check the value : ni, ni_glo, ibegin, iend") ; 196 196 197 197 } … … 214 214 { 215 215 ERROR("CDomain::checkAttributes(void)", 216 << " Le domaine est mal défini,"217 << " iend est différent de(jbegin + nj - 1) !") ;216 << "The domain is wrong defined," 217 << " iend is different of (jbegin + nj - 1) !") ; 218 218 } 219 219 else 220 220 { 221 221 ERROR("CDomain::checkAttributes(void)", 222 << " Le domaine est mal défini,"223 << " deux valeurs au moins parmis jend, jbegin, nj doivent être définies!") ;222 << "The domain is wrong defined," 223 << " 2 values from jend, jbegin, nj must be defined !") ; 224 224 } 225 225 … … 227 227 jbegin.getValue() < 1 || jend.getValue() > nj_glo.getValue()) 228 228 ERROR("CDomain::checkAttributes(void)", 229 << "Domain e local mal défini,"230 << " vérifiez les valeursnj, nj_glo, jbegin, jend") ;229 << "Domain is wrong defined," 230 << " Check the values : nj, nj_glo, jbegin, jend") ; 231 231 } 232 232 … … 265 265 (mask.extent(1) != nju)) 266 266 ERROR("CDomain::checkAttributes(void)", 267 <<" Le masque n'a pas la même taille que le domaine local") ;267 <<"the mask has not the same size than the local domain") ; 268 268 269 269 for (int i = 0; i < ni.getValue(); i++) … … 303 303 { 304 304 ERROR("CDomain::checkAttributes(void)", 305 << "D imension des données non comptatible (doit être 1 ou2) !") ;305 << "Data dimension incompatible (must be 1 or 2) !") ; 306 306 } 307 307 else if (data_dim.isEmpty()) 308 308 { 309 309 ERROR("CDomain::checkAttributes(void)", 310 << "D imension des données non définie!") ;310 << "Data dimension undefined !") ; 311 311 } 312 312 … … 319 319 { 320 320 ERROR("CDomain::checkAttributes(void)", 321 << "D imension des données négative (data_ni).") ;321 << "Data dimension is negative (data_ni).") ; 322 322 } 323 323 else if (data_ni.isEmpty()) … … 333 333 { 334 334 ERROR("CDomain::checkAttributes(void)", 335 << "D imension des données négative (data_nj).") ;335 << "Data dimension is negative (data_nj).") ; 336 336 } 337 337 else if (data_nj.isEmpty()) … … 352 352 { 353 353 ERROR("CDomain::checkAttributes(void)", 354 <<"Dimension data_i_index incompatible avecdata_n_index.") ;354 <<"Dimension data_i_index incompatible with data_n_index.") ; 355 355 } 356 356 else if (data_n_index.isEmpty()) … … 363 363 { 364 364 ERROR("CDomain::checkAttributes(void)", 365 <<"Dimension data_j_index incompatible avecdata_i_index.") ;365 <<"Dimension data_j_index incompatible with data_i_index.") ; 366 366 } 367 367 else if (data_j_index.isEmpty()) 368 368 { 369 369 ERROR("CDomain::checkAttributes(void)", 370 <<" La donnée data_j_index doit être renseignée!") ;370 <<"data_j_index must be defined !") ; 371 371 } 372 372 } … … 376 376 if (!data_n_index.isEmpty() || 377 377 ((data_dim.getValue() == 2) && (!data_j_index.isEmpty()))) 378 ERROR("CDomain::checkAttributes(void)", << "data_i_index non défini") ;378 ERROR("CDomain::checkAttributes(void)", << "data_i_index undefined") ; 379 379 } 380 380 … … 552 552 zoom_iend > ni_glo.getValue() || zoom_jend > nj_glo.getValue()) 553 553 ERROR("CDomain::checkZoom(void)", 554 << "Zoom mal défini,"555 << " vérifiez les valeurszoom_ni, zoom_nj, zoom_ibegin, zoom_ibegin") ;554 << "Zoom is wrong defined," 555 << " Check the values : zoom_ni, zoom_nj, zoom_ibegin, zoom_ibegin") ; 556 556 } 557 557 } -
XIOS/trunk/src/node/field.cpp
r418 r421 367 367 ERROR("CField::solveOperation(void)", 368 368 << "[ id = " << id << "]" 369 << "Impossible de définir une opération pour le champ!");369 << "Impossible to define an operation for this field !"); 370 370 } 371 371 … … 425 425 ERROR("CField::solveOperation(void)", 426 426 << "[ operation = " << operation.getValue() << "]" 427 << " L'opération n'est pas définie dans le code!");427 << "The operation is not defined !"); 428 428 } 429 429 } … … 456 456 else 457 457 ERROR("CField::solveGridReference(void)", 458 << "R éférence au domaine nommé\'"459 << domain_ref.getValue() << "\' i ncorrecte") ;458 << "Reference to the domain \'" 459 << domain_ref.getValue() << "\' is wrong") ; 460 460 } 461 461 … … 466 466 else 467 467 ERROR("CField::solveGridReference(void)", 468 << "R éférence à l'axe nommé\'"469 << axis_ref.getValue() <<"\' i ncorrecte") ;468 << "Reference to the axis \'" 469 << axis_ref.getValue() <<"\' is wrong") ; 470 470 } 471 471 … … 476 476 else 477 477 ERROR("CField::solveGridReference(void)", 478 << "R éférence à la grille nommée\'"479 << grid_ref.getValue() << "\' i ncorrecte");478 << "Reference to the grid \'" 479 << grid_ref.getValue() << "\' is wrong"); 480 480 } 481 481 … … 483 483 { 484 484 ERROR("CField::solveGridReference(void)", 485 << " Le domaine horizontal pour le champ X n'est pas défini");485 << "The horizontal domain for this field is not defined"); 486 486 487 487 } … … 500 500 if (goodDomain.isEmpty()) 501 501 { 502 ERROR("CField::solveGridReference(void)", << " Le domaine horizontal pour le champ X n'est pas défini");502 ERROR("CField::solveGridReference(void)", << "The horizontal domain for this field is not defined"); 503 503 } 504 504 else 505 505 { 506 506 if (CDomain::has(goodDomain)) domain = CDomain::get(goodDomain) ; 507 else ERROR("CField::solveGridReference(void)",<< "R éférence au domaine nommé \'"<<goodDomain.get() << "\' incorrecte") ;507 else ERROR("CField::solveGridReference(void)",<< "Reference to the domain \'"<<goodDomain.get() << "\' is wrong") ; 508 508 } 509 509 … … 511 511 { 512 512 if (CAxis::has(goodAxis)) axis = CAxis::get(goodAxis) ; 513 else ERROR("CField::solveGridReference(void)", << "R éférence à l'axe nommé\'"514 << goodAxis.get() <<"\' i ncorrecte") ;513 else ERROR("CField::solveGridReference(void)", << "Reference to the axis \'" 514 << goodAxis.get() <<"\' is wrong") ; 515 515 } 516 516 -
XIOS/trunk/src/node/grid.cpp
r415 r421 206 206 (mask.extent(2) != nlu)) 207 207 ERROR("CGrid::checkAttributes(void)", 208 <<" Le masque n'a pas la même taille que la grille locale") ;208 <<"The mask has not the same size than the local grid") ; 209 209 } 210 210 else … … 234 234 } 235 235 else ERROR("CGrid::solveDomainRef(void)", 236 << " Référence au domaine incorrecte") ;236 << "Wrong domain reference") ; 237 237 } 238 238 else ERROR("CGrid::solveDomainRef(void)", 239 << "Domain e non défini") ;239 << "Domain reference is not defined") ; 240 240 } 241 241 … … 253 253 } 254 254 else ERROR("CGrid::solveAxisRef(void)", 255 << " Référence a l'axe incorrecte") ;255 << "Wrong axis reference") ; 256 256 } 257 257 else withAxis = false ; … … 530 530 if ((this->storeIndex.size()-1 ) != storedClient.size()) 531 531 ERROR("void CGrid::inputFieldServer(const std::deque< CArray<double, 1>* > storedClient, CArray<double, 1>& storedServer) const", 532 << "[ Nombre de tableau attendu= " << (this->storeIndex.size()-1) << ", "533 << "[ Nombre de tableau reçu= " << storedClient.size() << "] "534 << " Les données d'un client sont manquantes!") ;532 << "[ Expected received field = " << (this->storeIndex.size()-1) << ", " 533 << "[ received fiedl = " << storedClient.size() << "] " 534 << "Data from clients are missing!") ; 535 535 storedServer.resize(storeIndex[0]->numElements()); 536 536 -
XIOS/trunk/src/node/grid.hpp
r415 r421 162 162 if (this->getDataSize() != field.numElements()) 163 163 ERROR("void CGrid::inputField(const CArray<double,n>& field, CArray<double,1>& stored) const", 164 << "[ Taille des données attendue= " << this->getDataSize() << ", "165 << " Taille des données reçue = " << field.numElements() << " ] "166 << " Le tableau de données n'a pas la bonne taille !") ;164 << "[ Awaiting size of the data = " << this->getDataSize() << ", " 165 << "Received data size = " << field.numElements() << " ] " 166 << "The array of data has not the good size !") 167 167 this->storeField_arr(field.dataFirst(), stored) ; 168 168 }
Note: See TracChangeset
for help on using the changeset viewer.