Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Box_BoundaryConditions.cpp

    r97f9b9 rc52e08  
    107107}
    108108
    109 void BoundaryConditions::BCContainer::set(const std::vector< std::string > &_conditions)
    110 {
    111   BoundaryConditions::Conditions_t newconditions;
    112   for (std::vector< std::string >::const_iterator iter = _conditions.begin();
    113       iter != _conditions.end(); ++iter)
    114     newconditions.push_back(getEnum(*iter));
    115   set(newconditions);
    116 }
    117 
    118109void BoundaryConditions::BCContainer::set(size_t index, const BoundaryConditions::BoundaryCondition_t _condition)
    119110{
     
    125116#endif
    126117  (*this)[index] = _condition;
    127 }
    128 
    129 void BoundaryConditions::BCContainer::set(size_t index, const std::string &_condition)
    130 {
    131   set(index, getEnum(_condition));
    132118}
    133119
     
    170156  for (BoundaryConditions::BCContainer::const_iterator iter = t.begin(); iter != t.end(); ++iter) {
    171157    if (iter != t.begin())
    172       out << " ";
     158      out << ", ";
    173159    out << t.getName(*iter);
    174160  }
     
    193179  typedef boost::tokenizer< boost::char_separator<char> > tokens;
    194180  BoundaryConditions::Conditions_t conditions;
    195   boost::char_separator<char> commasep(", ");
     181  boost::char_separator<char> commasep(",");
    196182  // it is imperative to copy the content of the stringbuffer, otherwise we'll
    197183  // get strange bug where 'Wrap' != 'Wrap' and so on.
Note: See TracChangeset for help on using the changeset viewer.