Changeset 541 for XIOS/trunk/src/node
- Timestamp:
- 12/16/14 12:55:59 (9 years ago)
- Location:
- XIOS/trunk/src/node
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/context.cpp
r540 r541 356 356 if (hasClient) 357 357 { 358 std::cout << "Current context " << *this << std::endl;358 // std::cout << "Current context " << *this << std::endl; 359 359 // After xml is parsed, there are some more works with post processing 360 360 postProcessing(); … … 715 715 { 716 716 postProcessing(); 717 std::cout << "server context " << *this << std::endl;717 // std::cout << "server context " << *this << std::endl; 718 718 } 719 719 -
XIOS/trunk/src/node/field.cpp
r540 r541 506 506 CDomain* domain; 507 507 CAxis* axis; 508 std::vector<CDomain*> vecDom; 509 std::vector<CAxis*> vecAxis; 510 std::vector<std::string> domList, axisList; 508 511 509 512 if (!domain_ref.isEmpty()) 510 513 { 511 514 if (CDomain::has(domain_ref.getValue())) 512 domain = CDomain::get(domain_ref.getValue()) ; 515 { 516 domain = CDomain::get(domain_ref.getValue()) ; 517 vecDom.push_back(domain); 518 } 513 519 else 514 520 ERROR("CField::solveGridReference(void)", … … 520 526 { 521 527 if (CAxis::has(axis_ref.getValue())) 522 axis = CAxis::get(axis_ref.getValue()) ; 528 { 529 axis = CAxis::get(axis_ref.getValue()) ; 530 vecAxis.push_back(axis); 531 } 523 532 else 524 533 ERROR("CField::solveGridReference(void)", … … 530 539 { 531 540 if (CGrid::has(grid_ref.getValue())) 532 this->grid = CGrid::get(grid_ref.getValue()) ; 541 { 542 this->grid = CGrid::get(grid_ref.getValue()) ; 543 domList = grid->getDomainList(); 544 axisList = grid->getAxisList(); 545 } 533 546 else 534 547 ERROR("CField::solveGridReference(void)", … … 562 575 // CArray<std::string,1> axisListTmp = grid->axisList.getValue(); 563 576 564 std::vector<std::string> domList, axisList;565 if (0 != grid)566 {567 domList = grid->getDomainList();568 axisList = grid->getAxisList();569 }570 571 577 if (domList.empty() && axisList.empty()) 572 578 { 573 std::vector<CDomain*> vecDom;574 if (0 != domain) vecDom.push_back(domain);575 std::vector<CAxis*> vecAxis;576 if (0 != axis) vecAxis.push_back(axis);577 579 this->grid = CGrid::createGrid(vecDom, vecAxis); 578 580 }
Note: See TracChangeset
for help on using the changeset viewer.