21 "Name of vector-postprocessor or reporter vector containing time, " 22 "default is assumed to be all 0s.");
23 params.
addParam<
Real>(
"reverse_time_end", 0.0,
"End time used for reversing the time values.");
29 _coordt(isParamValid(
"time_name") ? getReporterValue<
std::vector<
Real>>(
"time_name")
31 _reverse_time_end(getParam<
Real>(
"reverse_time_end"))
39 const auto nval =
_values.size();
41 paramError(
"value_name",
"Value vector must not be empty.");
bool absoluteFuzzyEqual(const T &var1, const T2 &var2, const T3 &tol=libMesh::TOLERANCE *libMesh::TOLERANCE)
static InputParameters validParams()
virtual void addPoints() override
const std::vector< Point > & _point
std::unordered_map< Point, Real > _point_to_weightedValue
const Real & _reverse_time_end
The final time when we want to reverse the time index in function evaluation.
const std::vector< Real > & _coordx
std::vector< Real > _ones_vec
std::vector< Point > _zeros_pts
void paramError(const std::string ¶m, Args... args) const
std::vector< Real > _zeros_vec
void errorCheck(const std::string &input_name, std::size_t reporterSize)
Apply a time dependent point load defined by Reporters.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const std::vector< Real > & _coordy
IntRange< T > make_range(T beg, T end)
const bool _read_in_points
const std::vector< Real > & _values
const std::vector< Real > & _coordt
time-coordinates from reporter
void fillPoint(const Point &point, const dof_id_type id)
ReporterTimePointSource(const InputParameters ¶meters)
const std::vector< Real > & _weight
registerMooseObject("OptimizationApp", ReporterTimePointSource)
const std::vector< Real > & _coordz