Example #1
0
 void get(
         boost::property_tree::ptree &p,
         const std::string &path = ""
         ) const
 {
     AMGCL_PARAMS_EXPORT_VALUE(p, path, enable);
     AMGCL_PARAMS_EXPORT_VALUE(p, path, min_per_proc);
     AMGCL_PARAMS_EXPORT_VALUE(p, path, shrink_ratio);
 }
Example #2
0
 void get(
         boost::property_tree::ptree &p,
         const std::string &path = ""
         ) const
 {
     AMGCL_PARAMS_EXPORT_CHILD(p, path, coarsening);
     AMGCL_PARAMS_EXPORT_CHILD(p, path, relax);
     AMGCL_PARAMS_EXPORT_VALUE(p, path, coarse_enough);
     AMGCL_PARAMS_EXPORT_VALUE(p, path, npre);
     AMGCL_PARAMS_EXPORT_VALUE(p, path, npost);
     AMGCL_PARAMS_EXPORT_VALUE(p, path, ncycle);
     AMGCL_PARAMS_EXPORT_VALUE(p, path, pre_cycles);
 }
Example #3
0
 void get(boost::property_tree::ptree &p, const std::string &path) const {
     AMGCL_PARAMS_EXPORT_CHILD(p, path, aggr);
     AMGCL_PARAMS_EXPORT_VALUE(p, path, over_interp);
 }
Example #4
0
 void get(boost::property_tree::ptree &p, const std::string &path) const {
     AMGCL_PARAMS_EXPORT_VALUE(p, path, maxiter);
     AMGCL_PARAMS_EXPORT_VALUE(p, path, tol);
 }
Example #5
0
 void get(boost::property_tree::ptree &p, const std::string &path) const {
     AMGCL_PARAMS_EXPORT_VALUE(p, path, damping);
 }
Example #6
0
 void get(boost::property_tree::ptree &p, const std::string &path) const {
     AMGCL_PARAMS_EXPORT_CHILD(p, path, aggr);
     AMGCL_PARAMS_EXPORT_CHILD(p, path, nullspace);
     AMGCL_PARAMS_EXPORT_VALUE(p, path, relax);
 }
Example #7
0
 void get(boost::property_tree::ptree &p, const std::string &path) const {
     plain_aggregates::params::get(p, path);
     AMGCL_PARAMS_EXPORT_VALUE(p, path, block_size);
 }