https://mooseframework.inl.gov
ParameterMeshOptimization.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "GeneralOptimization.h"
13 
14 class ParameterMesh;
15 
20 {
21 
22 public:
25 
26 protected:
27  virtual void setICsandBounds() override;
28 
29 private:
34  std::vector<Real> parseExodusData(const std::vector<unsigned int> & exodus_timestep,
35  const ParameterMesh & pmesh,
36  const std::string & mesh_var_name,
37  unsigned int ntimes) const;
38 };
std::vector< Real > parseExodusData(const std::vector< unsigned int > &exodus_timestep, const ParameterMesh &pmesh, const std::string &mesh_var_name, unsigned int ntimes) const
Read initialization data off of parameter mesh and error check.
Utility class to use an Exodus mesh to define controllable parameters for optimization problems This ...
Definition: ParameterMesh.h:42
static InputParameters validParams()
ParameterMeshOptimization(const InputParameters &parameters)
Mesh-based parameter optimization.
const InputParameters & parameters() const
virtual void setICsandBounds() override
Sets the initial conditions and bounds right before it is needed.
Optimization reporter that interfaces with TAO.