Ignore:
Timestamp:
Apr 23, 2021, 8:31:23 PM (5 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
cbbb6a
Parents:
b56827
git-author:
Frederik Heber <frederik.heber@…> (04/22/19 23:01:18)
git-committer:
Frederik Heber <frederik.heber@…> (04/23/21 20:31:23)
Message:

StoreSaturatedFragmentAction may now export to FragmentQueue as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/FragmentationAction/StoreSaturatedFragmentAction.def

    rb56827 r26062f  
    1111
    1212#include "Parameters/Validators/DummyValidator.hpp"
     13#include "Parameters/Validators/RangeValidator.hpp"
    1314#include "Parameters/Validators/STLVectorValidator.hpp"
     15#include "Parameters/Validators/Specific/BoxLengthValidator.hpp"
    1416#include "Parameters/Validators/Specific/ParserTypeValidator.hpp"
    1517
     
    1719// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1820// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    19 #define paramtypes (std::string)(bool)(std::vector<std::string>)
    20 #define paramtokens ("store-saturated-fragment")("DoSaturate")("output-types")
    21 #define paramdescriptions ("name of fragment file")("do saturate dangling bonds with hydrogen")("type(s) of parsers that output fragment config files")
    22 #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(true))(PARAM_DEFAULT(std::vector<std::string>()))
    23 #define paramreferences (prefix)(DoSaturation)(types)
     21#define paramtypes (std::string)(bool)(std::vector<std::string>)(double)(unsigned int)
     22#define paramtokens ("store-saturated-fragment")("DoSaturate")("output-types")("max-meshwidth")("grid-level")
     23#define paramdescriptions ("name of fragment file")("do saturate dangling bonds with hydrogen")("type(s) of parsers that output fragment config files")("maximum allowed mesh width, i.e. discrete points may be at most that far apart on the fragment grids")("resolution of density sampling multigrid")
     24#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(true))(PARAM_DEFAULT(std::vector<std::string>()))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(5))
     25#define paramreferences (prefix)(DoSaturation)(types)(max_meshwidth)(level)
    2426#define paramvalids \
    2527(DummyValidator< std::string >()) \
    2628(DummyValidator< bool >()) \
    27 (STLVectorValidator< std::vector<std::string> >(1, 10, ParserTypeValidator()))
     29(STLVectorValidator< std::vector<std::string> >(0, 10, ParserTypeValidator())) \
     30(BoxLengthValidator()) \
     31(RangeValidator< unsigned int >(1, 10))
    2832
    2933#undef statetypes
Note: See TracChangeset for help on using the changeset viewer.