https://mooseframework.inl.gov
src
controls
Namespaces
|
Functions
WebServerControlTypeRegistration.C File Reference
Go to the source code of this file.
Namespaces
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;})
Generated on Wed Nov 19 2025 20:05:54 for https://mooseframework.inl.gov by
1.8.14