Go to the source code of this file.
Namespaces | |
| namespace | Moose |
| MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to address this in their environment if C++17 compatibility isn't found. | |
| namespace | Moose::WebServerControlTypeRegistration |
| Defines classes for registering values that can be parsed, communicated, and stored in the WebServerControl. | |
Functions | |
| Moose::WebServerControlTypeRegistration::registerWebServerControlScalar (bool) | |
| Moose::WebServerControlTypeRegistration::registerWebServerControlScalar (Real) | |
| Moose::WebServerControlTypeRegistration::registerWebServerControlScalar (int) | |
| Moose::WebServerControlTypeRegistration::registerWebServerControlScalar (std::string) | |
| Moose::WebServerControlTypeRegistration::registerWebServerControlVector (Real) | |
| Moose::WebServerControlTypeRegistration::registerWebServerControlVector (int) | |
| Moose::WebServerControlTypeRegistration::registerWebServerControlVector (std::string) | |
| Moose::WebServerControlTypeRegistration::registerWebServerControlType (RealEigenMatrix, [](const nlohmann::json &json_value) -> RealEigenMatrix { const auto vec_of_vec=json_value.get< std::vector< std::vector< double > > >();const auto nrows=vec_of_vec.size();if(nrows==0) return RealEigenMatrix::Zero(0, 0);const auto ncols=vec_of_vec[0].size();RealEigenMatrix matrix;matrix.resize(nrows, ncols);for(const auto i :make_range(nrows)) { const auto &row=vec_of_vec[i];if(row.size() !=ncols) throw std::runtime_error("Matrix is jagged");for(const auto j :index_range(row)) matrix(i, j)=row[j];} return matrix;}) | |