Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/WorldAction/SetBoundaryConditionsAction.def

    rc52e08 r6ba9ba  
    1010#include <string>
    1111
     12#include "Parameters/Validators/STLVectorValidator.hpp"
     13#include "Parameters/Validators/Specific/BoundaryConditionValidator.hpp"
     14
    1215// i.e. there is an integer with variable name Z that can be found in
    1316// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
    15 #define paramtypes (std::string)
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
     18#define paramtypes (std::vector< std::string >)
    1619#define paramtokens ("set-boundary-conditions")
    1720#define paramdescriptions ("new boundary conditions as list of three strings, e.g. 'wrap wrap ignore'")
    1821#undef paramdefaults
    1922#define paramreferences (newconditions)
     23#define paramvalids \
     24(STLVectorValidator< std::vector< std::string > >(NDIM, NDIM, BoundaryConditionValidator()))
    2025
    2126#define statetypes (std::string)
Note: See TracChangeset for help on using the changeset viewer.