https://mooseframework.inl.gov
Loading...
Searching...
No Matches
EmptyReporter.C
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#include "EmptyReporter.h"
10#include "MooseUtils.h"
11
12registerMooseObject("PorousFlowTestApp", EmptyReporter);
13
16{
18 params.addClassDescription("This is a dummy reporter containing data needed for the"
19 " PorousFlowLineGeometry but is empty to mimic a transfer"
20 " not taking place or the reporter not being properly filled"
21 " by another reporter");
22 return params;
23}
24
26 : GeneralReporter(parameters),
27 _coord_x(declareValueByName<std::vector<Real>>("x", REPORTER_MODE_REPLICATED)),
28 _coord_y(declareValueByName<std::vector<Real>>("y", REPORTER_MODE_REPLICATED)),
29 _coord_z(declareValueByName<std::vector<Real>>("z", REPORTER_MODE_REPLICATED)),
30 _weight(declareValueByName<std::vector<Real>>("w", REPORTER_MODE_REPLICATED))
31{
32}
registerMooseObject("PorousFlowTestApp", EmptyReporter)
const ReporterMode REPORTER_MODE_REPLICATED
static InputParameters validParams()
EmptyReporter(const InputParameters &parameters)
static InputParameters validParams()
void addClassDescription(const std::string &doc_string)