www.mooseframework.org
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
Tecplot Class Reference

Class for output data to the TecplotII format. More...

#include <Tecplot.h>

Inheritance diagram for Tecplot:
[legend]

Public Member Functions

 Tecplot (const InputParameters &parameters)
 Class constructor. More...
 
virtual void initialSetup () override
 Initialization method. More...
 
virtual void meshChanged () override
 Called on this object when the mesh changes. More...
 
virtual void outputStep (const ExecFlagType &type) override
 A single call to this function should output all the necessary data for a single timestep. More...
 
virtual bool hasOutput ()
 Returns true if any of the other has methods return true. More...
 
bool hasOutput (const ExecFlagType &type)
 Tests that any output exist for the given output type. More...
 
bool hasNodalVariableOutput ()
 Returns true if there exists nodal nonlinear variables for output. More...
 
const std::set< std::string > & getNodalVariableOutput ()
 The list of nodal nonlinear variables names that are set for output. More...
 
bool hasElementalVariableOutput ()
 Returns true if there exists elemental nonlinear variables for output. More...
 
const std::set< std::string > & getElementalVariableOutput ()
 The list of elemental nonlinear variables names that are set for output. More...
 
bool hasScalarOutput ()
 Returns true if there exists scalar variables for output. More...
 
const std::set< std::string > & getScalarOutput ()
 The list of scalar variables names that are set for output. More...
 
bool hasPostprocessorOutput ()
 Returns true if there exists postprocessors for output. More...
 
const std::set< std::string > & getPostprocessorOutput ()
 The list of postprocessor names that are set for output. More...
 
bool hasVectorPostprocessorOutput ()
 Returns true if there exists VectorPostprocessors for output. More...
 
const std::set< std::string > & getVectorPostprocessorOutput ()
 The list of VectorPostprocessor names that are set for output. More...
 
const OutputOnWarehouseadvancedExecuteOn () const
 Get the current advanced 'execute_on' selections for display. More...
 
void setFileNumber (unsigned int num)
 Sets the file number manually. More...
 
unsigned int getFileNumber ()
 Return the current file number for this outputter. More...
 
virtual Real time () override
 Get the output time. More...
 
virtual Real timeOld ()
 Get the old output time. More...
 
virtual Real dt ()
 Get the current time step size. More...
 
virtual Real dtOld ()
 Get old time step size. More...
 
virtual int timeStep ()
 Get the current time step. More...
 
const unsigned int & interval () const
 Get the output interval. More...
 
const MultiMooseEnumexecuteOn () const
 Get the current 'execute_on' selections for display. More...
 
bool isAdvanced ()
 Returns true if this object is an AdvancedOutput object. More...
 
void allowOutput (bool state)
 Method for controlling the allow output state. More...
 
const std::string & type () const
 Get the type of this object. More...
 
virtual const std::string & name () const
 Get the name of the object. More...
 
const InputParametersparameters () const
 Get the parameters of the object. More...
 
template<typename T >
const T & getParamTempl (const std::string &name) const
 Retrieve a parameter for the object. More...
 
template<typename T >
getCheckedPointerParam (const std::string &name, const std::string &error_string="") const
 Verifies that the requested parameter exists and is not NULL and returns it to the caller. More...
 
bool isParamValid (const std::string &name) const
 Test if the supplied parameter is valid. More...
 
MooseAppgetMooseApp () const
 Get the MooseApp this object is associated with. More...
 
virtual bool enabled () const
 Return the enabled status of the object. More...
 
template<typename... Args>
void paramError (const std::string &param, Args... args) const
 Emits an error prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message. More...
 
template<typename... Args>
void paramWarning (const std::string &param, Args... args) const
 Emits a warning prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message. More...
 
template<typename... Args>
void paramInfo (const std::string &param, Args... args) const
 Emits an informational message prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message. More...
 
template<typename... Args>
void mooseError (Args &&... args) const
 
template<typename... Args>
void mooseWarning (Args &&... args) const
 
template<typename... Args>
void mooseDeprecated (Args &&... args) const
 
template<typename... Args>
void mooseInfo (Args &&... args) const
 
virtual void timestepSetup ()
 Gets called at the beginning of the timestep before this object is asked to do its job. More...
 
virtual void jacobianSetup ()
 Gets called just before the Jacobian is computed and before this object is asked to do its job. More...
 
virtual void residualSetup ()
 Gets called just before the residual is computed and before this object is asked to do its job. More...
 
virtual void subdomainSetup ()
 Gets called when the subdomain changes (i.e. More...
 
const ExecFlagEnumgetExecuteOnEnum () const
 Return the execute on MultiMooseEnum for this object. More...
 
virtual const std::vector< ExecFlagType > & execFlags () const
 (DEPRECATED) Get the execution flag for the object TODO: ExecFlagType More...
 
ExecFlagType execBitFlags () const
 (DEPRECATED) Build and return the execution flags as a bitfield TODO: ExecFlagType More...
 

Static Public Member Functions

static InputParameters validParams ()
 
static InputParameters enableOutputTypes (const std::string &names=std::string())
 A method for enabling individual output type control. More...
 
static ExecFlagEnum getDefaultExecFlagEnum ()
 Return an ExecFlagEnum object with the available execution flags for Output objects. More...
 
static void addDeprecatedInputParameters (InputParameters &params)
 A static helper for injecting deprecated parameters. More...
 
static ExecFlagEnum getExecuteOptions ()
 (DEPRECATED) Returns the available options for the 'execute_on' input parameters TODO: ExecFlagType More...
 

Public Attributes

const ConsoleStream _console
 An instance of helper class to write streams to the Console objects. More...
 

Protected Member Functions

virtual void output (const ExecFlagType &type) override
 Overload the Output::output method, this is required for Tecplot output due to the method utilized for outputting single/global parameters. More...
 
virtual std::string filename () override
 Returns the current filename, this method handles adding the timestep suffix. More...
 
virtual void updateOversample ()
 Performs the update of the solution vector for the oversample/re-positioned mesh. More...
 
virtual bool shouldOutput (const ExecFlagType &type)
 Handles logic for determining if a step should be output. More...
 
virtual void outputNodalVariables ()
 Performs output of nodal nonlinear variables The child class must define this method to output the nonlinear variables as desired. More...
 
virtual void outputElementalVariables ()
 Performs output of elemental nonlinear variables The child class must define this method to output the nonlinear variables as desired. More...
 
virtual void outputScalarVariables ()
 Performs output of scalar variables The child class must define this method to output the scalar variables as desired. More...
 
virtual void outputPostprocessors ()
 Performs output of postprocessors The child class must define this method to output the postprocessors as desired. More...
 
virtual void outputVectorPostprocessors ()
 Performs output of VectorPostprocessors The child class must define this method to output the VectorPostprocessors as desired. More...
 
virtual void outputInput ()
 Performs the output of the input file By default this method does nothing and is not called, the individual Output objects are responsible for calling it. More...
 
virtual void outputSystemInformation ()
 
bool checkFilename ()
 Checks the filename for output Checks the output against the 'output_if_base_contians' list. More...
 
virtual bool onInterval ()
 Returns true if the output interval is satisfied. More...
 
template<typename T >
T & declareRestartableDataTempl (const std::string &data_name)
 Declare a piece of data as "restartable". More...
 
template<typename T >
T & declareRestartableDataTempl (const std::string &data_name, const T &init_value)
 Declare a piece of data as "restartable" and initialize it. More...
 
template<typename T >
T & declareRestartableDataWithContext (const std::string &data_name, void *context)
 Declare a piece of data as "restartable". More...
 
template<typename T >
T & declareRestartableDataWithContext (const std::string &data_name, const T &init_value, void *context)
 Declare a piece of data as "restartable" and initialize it. More...
 
template<typename T >
T & declareRestartableDataWithPrefixOverrideAndContext (const std::string &data_name, const std::string &prefix, void *context)
 Declare a piece of data as "restartable". More...
 
template<typename T >
T & declareRecoverableData (const std::string &data_name)
 Declare a piece of data as "recoverable". More...
 
template<typename T >
T & declareRecoverableData (const std::string &data_name, const T &init_value)
 Declare a piece of data as "restartable" and initialize it. More...
 
template<typename T >
T & declareRestartableDataWithObjectName (const std::string &data_name, const std::string &object_name)
 Declare a piece of data as "restartable". More...
 
template<typename T >
T & declareRestartableDataWithObjectNameWithContext (const std::string &data_name, const std::string &object_name, void *context)
 Declare a piece of data as "restartable". More...
 
PerfID registerTimedSection (const std::string &section_name, const unsigned int level)
 Call to register a named section for timing. More...
 

Protected Attributes

const unsigned int _refinements
 The number of oversampling refinements. More...
 
bool _oversample
 Flag indicating that oversampling is enabled. More...
 
bool _change_position
 Flag for re-positioning. More...
 
bool _elemental_as_nodal
 Flags to control nodal output. More...
 
bool _scalar_as_nodal
 
std::string _file_base
 The base filename from the input paramaters. More...
 
unsigned int & _file_num
 A file number counter, initialized to 0 (this must be controlled by the child class, see Exodus) More...
 
unsigned int _padding
 Number of digits to pad the extensions. More...
 
std::vector< std::string > _output_if_base_contains
 Storage for 'output_if_base_contains'. More...
 
Real _norm
 Current norm returned from PETSc. More...
 
PetscInt _nonlinear_iter
 Current non-linear iteration returned from PETSc. More...
 
PetscInt _linear_iter
 Current linear iteration returned from PETSc. More...
 
FEProblemBase_problem_ptr
 Pointer the the FEProblemBase object for output object (use this) More...
 
bool _transient
 Transient flag (true = transient) More...
 
bool _use_displaced
 Flag for using displaced mesh. More...
 
EquationSystems * _es_ptr
 Reference the the libMesh::EquationSystems object that contains the data. More...
 
MooseMesh_mesh_ptr
 A convenience pointer to the current mesh (reference or displaced depending on "use_displaced") More...
 
bool _sequence
 Flag for forcing call to outputSetup() with every call to output() (restartable) More...
 
ExecFlagEnum _execute_on
 The common Execution types; this is used as the default execution type for everything except system information and input. More...
 
Real & _time
 The current time for output purposes. More...
 
Real & _time_old
 The old time. More...
 
int & _t_step
 The current time step. More...
 
Real & _dt
 Time step delta. More...
 
Real & _dt_old
 Old time step delta. More...
 
unsigned int _num
 The number of outputs written. More...
 
const unsigned int _interval
 The output time step interval. More...
 
std::set< Real > _sync_times
 Sync times for this outputter. More...
 
Real _start_time
 Start outputting time. More...
 
Real _end_time
 End outputting time. More...
 
int _start_step
 Start outputting at this time step. More...
 
int _end_step
 End outputting at this time step. More...
 
Real _t_tol
 Time checking tolerance. More...
 
bool _sync_only
 Flag for only executing at sync times. More...
 
bool _initialized
 True if init() has been called. More...
 
bool _allow_output
 Flag for disabling output. More...
 
bool _is_advanced
 Flag for advanced output testing. More...
 
OutputOnWarehouse _advanced_execute_on
 Storage for the individual component execute flags. More...
 
PerfID _output_step_timer
 Timers. More...
 
const InputParameters_pars
 Parameters of this object, references the InputParameters stored in the InputParametersWarehouse. More...
 
MooseApp_app
 The MooseApp this object is associated with. More...
 
const std::string & _type
 The type of this object (the Class name) More...
 
const std::string & _name
 The name of this object, reference to value stored in InputParameters. More...
 
const bool & _enabled
 Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects. More...
 
FEProblemBase_mci_feproblem
 Reference to FEProblemBase instance. More...
 
const ExecFlagEnum_execute_enum
 Execute settings for this oejct. More...
 
const std::vector< ExecFlagType_exec_flags
 (DEPRECATED) execution flag (when is the object executed/evaluated) TODO: ExecFlagType More...
 
const ExecFlagType_current_execute_flag
 Reference to FEProblemBase. More...
 
const InputParameters_pg_params
 Params. More...
 
PerfGraph_perf_graph
 The performance graph to add to. More...
 
std::string _prefix
 A prefix to use for all sections. More...
 

Private Member Functions

void initOversample ()
 Setups the output object to produce re-positioned and/or oversampled results. More...
 
void cloneMesh ()
 Clone mesh in preperation for re-positioning or oversampling. More...
 
void initAvailableLists ()
 Initializes the available lists for each of the output types. More...
 
void initExecutionTypes (const std::string &name, ExecFlagEnum &input)
 Initialize the possible execution types. More...
 
void initShowHideLists (const std::vector< VariableName > &show, const std::vector< VariableName > &hide)
 Parses the user-supplied input for hiding and showing variables and postprocessors into a list for each type of output. More...
 
template<typename postprocessor_type >
void initPostprocessorOrVectorPostprocessorLists (const std::string &execute_data_name)
 Helper function for initAvailableLists, templated on warehouse type and postprocessor_type. More...
 
void initOutputList (OutputData &data)
 Initializes the list of items to be output using the available, show, and hide lists. More...
 
bool wantOutput (const std::string &name, const ExecFlagType &type)
 Handles logic for determining if a step should be output. More...
 
bool hasOutputHelper (const std::string &name)
 Helper method for checking if output types exists. More...
 
void solveSetup () override
 Internal setup function that executes at the beginning of the time step. More...
 
template<typename... Args>
std::string paramErrorMsg (const std::string &param, Args... args) const
 
RestartableDataValueregisterRestartableDataOnApp (const std::string &name, std::unique_ptr< RestartableDataValue > data, THREAD_ID tid)
 Helper function for actually registering the restartable data. More...
 
void registerRestartableNameWithFilterOnApp (const std::string &name, Moose::RESTARTABLE_FILTER filter)
 Helper function for actually registering the restartable data. More...
 

Static Private Member Functions

static void addValidParams (InputParameters &params, const MultiMooseEnum &types)
 Method for defining the available parameters based on the types of outputs. More...
 
static MultiMooseEnum getOutputTypes ()
 Get the supported types of output (e.g., postprocessors, etc.) More...
 
static PetscErrorCode petscNonlinearOutput (SNES, PetscInt its, PetscReal fnorm, void *void_ptr)
 Performs the output on non-linear iterations. More...
 
static PetscErrorCode petscLinearOutput (KSP, PetscInt its, PetscReal fnorm, void *void_ptr)
 Performs the output onlinear iterations. More...
 

Private Attributes

bool _binary
 Flag for binary output. More...
 
bool _ascii_append
 Flag for turning on appending to ASCII files. More...
 
bool & _first_time
 True if this is the first time the file has been written to, gets set to false after the first call to output(). More...
 
std::vector< std::vector< std::unique_ptr< MeshFunction > > > _mesh_functions
 A vector of pointers to the mesh functions This is only populated when the oversample() function is called, it must be cleaned up by the destructor. More...
 
Point _position
 When oversampling, the output is shift by this amount. More...
 
bool _oversample_mesh_changed
 A flag indicating that the mesh has changed and the oversampled mesh needs to be re-initialized. More...
 
std::unique_ptr< EquationSystems > _oversample_es
 
std::unique_ptr< MooseMesh_cloned_mesh_ptr
 
std::unique_ptr< NumericVector< Number > > _serialized_solution
 Oversample solution vector. More...
 
OutputDataWarehouse _execute_data
 Storage structures for the various output types. More...
 
std::map< std::string, Real > _last_execute_time
 Storage for the last output time for the various output types, this is used to avoid duplicate output when using OUTPUT_FINAL flag. More...
 
Real _nonlinear_time
 The psuedo non-linear time. More...
 
Real _nonlinear_dt
 The pseuedo non-linear time step. More...
 
Real _linear_time
 Psuedo linear time. More...
 
Real _linear_dt
 Psuedo linear time step. More...
 
bool _on_linear_residual
 True if current output calls is on the linear residual (used by time()) More...
 
bool _on_nonlinear_residual
 True if current output call is on the non-linear residual (used by time()) More...
 
Real _nonlinear_dt_divisor
 Pseudo non-linear timestep divisor. More...
 
Real _linear_dt_divisor
 Pseudo linear timestep divisor. More...
 
Real _nonlinear_start_time
 Non-linear residual output start time. More...
 
Real _linear_start_time
 Linear residual output start time. More...
 
Real _nonlinear_end_time
 Non-linear residual output end time. More...
 
Real _linear_end_time
 Linear residual output end time. More...
 
MooseApp_restartable_app
 Reference to the application. More...
 
std::string _restartable_name
 The name of the object. More...
 
std::string _restartable_system_name
 The system name this object is in. More...
 
THREAD_ID _restartable_tid
 The thread ID for this object. More...
 
ExecFlagEnum _empty_execute_enum
 Empty ExecFlagEnum for the case when the "execute_on" parameter is not included. More...
 

Detailed Description

Class for output data to the TecplotII format.

Definition at line 24 of file Tecplot.h.

Constructor & Destructor Documentation

◆ Tecplot()

Tecplot::Tecplot ( const InputParameters parameters)

Class constructor.

Definition at line 49 of file Tecplot.C.

51  _binary(getParam<bool>("binary")),
52  _ascii_append(getParam<bool>("ascii_append")),
53  _first_time(declareRestartableData<bool>("first_time", true))
54 {
55 #ifndef LIBMESH_HAVE_TECPLOT_API
56  if (_binary)
57  {
59  "Teclplot binary output requested but not available, outputting ASCII format instead.");
60  _binary = false;
61  }
62 #endif
63 }

Member Function Documentation

◆ addDeprecatedInputParameters()

static void Output::addDeprecatedInputParameters ( InputParameters params)
staticinherited

A static helper for injecting deprecated parameters.

◆ addValidParams()

void AdvancedOutput::addValidParams ( InputParameters params,
const MultiMooseEnum types 
)
staticprivateinherited

Method for defining the available parameters based on the types of outputs.

Parameters
paramsThe InputParamters object to add parameters to
typesThe types of output this object should support (see Output::enableOutputTypes)

Each output object may have a varying set of supported output types (e.g., elemental variables may not be supported). This private, static method populates the InputParameters object with the correct parameters based on the items contained in the ExecFlagEnum.

This method is private, users should utilize the Output::enableOutputTypes method

See also
Output::enableOutputTypes

Definition at line 627 of file AdvancedOutput.C.

628 {
630  empty_execute_on.addAvailableFlags(EXEC_FAILED);
631 
632  // Nodal output
633  if (types.contains("nodal"))
634  {
635  params.addParam<ExecFlagEnum>(
636  "execute_nodal_on", empty_execute_on, "Control the output of nodal variables");
637  params.addParamNamesToGroup("execute_nodal_on", "Variables");
638  }
639 
640  // Elemental output
641  if (types.contains("elemental"))
642  {
643  params.addParam<ExecFlagEnum>(
644  "execute_elemental_on", empty_execute_on, "Control the output of elemental variables");
645  params.addParamNamesToGroup("execute_elemental_on", "Variables");
646 
647  // Add material output control, which are output via elemental variables
648  params.addParam<bool>("output_material_properties",
649  false,
650  "Flag indicating if material properties should be output");
651  params.addParam<std::vector<std::string>>(
652  "show_material_properties",
653  "List of materialproperties that should be written to the output");
654  params.addParamNamesToGroup("output_material_properties show_material_properties", "Materials");
655  }
656 
657  // Scalar variable output
658  if (types.contains("scalar"))
659  {
660  params.addParam<ExecFlagEnum>(
661  "execute_scalars_on", empty_execute_on, "Control the output of scalar variables");
662  params.addParamNamesToGroup("execute_scalars_on", "Variables");
663  }
664 
665  // Nodal and scalar output
666  if (types.contains("nodal") && types.contains("scalar"))
667  {
668  params.addParam<bool>("scalar_as_nodal", false, "Output scalar variables as nodal");
669  params.addParamNamesToGroup("scalar_as_nodal", "Variables");
670  }
671 
672  // Elemental and nodal
673  if (types.contains("elemental") && types.contains("nodal"))
674  {
675  params.addParam<bool>(
676  "elemental_as_nodal", false, "Output elemental nonlinear variables as nodal");
677  params.addParamNamesToGroup("elemental_as_nodal", "Variables");
678  }
679 
680  // Postprocessors
681  if (types.contains("postprocessor"))
682  {
683  params.addParam<ExecFlagEnum>(
684  "execute_postprocessors_on", empty_execute_on, "Control of when postprocessors are output");
685  params.addParamNamesToGroup("execute_postprocessors_on", "Variables");
686  }
687 
688  // Vector Postprocessors
689  if (types.contains("vector_postprocessor"))
690  {
691  params.addParam<ExecFlagEnum>("execute_vector_postprocessors_on",
692  empty_execute_on,
693  "Enable/disable the output of VectorPostprocessors");
694  params.addParamNamesToGroup("execute_vector_postprocessors_on", "Variables");
695  }
696 
697  // Input file
698  if (types.contains("input"))
699  {
700  params.addParam<ExecFlagEnum>(
701  "execute_input_on", empty_execute_on, "Enable/disable the output of the input file");
702  params.addParamNamesToGroup("execute_input_on", "Variables");
703  }
704 
705  // System Information
706  if (types.contains("system_information"))
707  {
708  params.addParam<ExecFlagEnum>("execute_system_information_on",
709  empty_execute_on,
710  "Control when the output of the simulation information occurs");
711  params.addParamNamesToGroup("execute_system_information_on", "Variables");
712  }
713 }

Referenced by AdvancedOutput::enableOutputTypes().

◆ advancedExecuteOn()

const OutputOnWarehouse & AdvancedOutput::advancedExecuteOn ( ) const
virtualinherited

Get the current advanced 'execute_on' selections for display.

Reimplemented from Output.

Definition at line 788 of file AdvancedOutput.C.

789 {
790  return _advanced_execute_on;
791 }

◆ allowOutput()

void Output::allowOutput ( bool  state)
inlineinherited

Method for controlling the allow output state.

Parameters
stateThe state to set the allow flag to

Definition at line 123 of file Output.h.

123 { _allow_output = state; }

◆ checkFilename()

bool FileOutput::checkFilename ( )
protectedinherited

Checks the filename for output Checks the output against the 'output_if_base_contians' list.

Returns
Returns true if the filename is valid for output

Definition at line 113 of file FileOutput.C.

114 {
115  // Return true if 'output_if_base_contains' is not utilized
116  if (_output_if_base_contains.empty())
117  return true;
118 
119  // Assumed output is false
120  bool output = false;
121 
122  // Loop through each string in the list
123  for (const auto & search_string : _output_if_base_contains)
124  {
125  // Search for the string in the file base, if found set the output to true and break the loop
126  if (_file_base.find(search_string) != std::string::npos)
127  {
128  output = true;
129  break;
130  }
131  }
132 
133  // Return the value
134  return output;
135 }

Referenced by FileOutput::shouldOutput(), and AdvancedOutput::shouldOutput().

◆ cloneMesh()

void OversampleOutput::cloneMesh ( )
privateinherited

Clone mesh in preperation for re-positioning or oversampling.

This changes the pointer, _mesh_ptr, with a clone of the current mesh so that it may be modified to perform the necessary oversample/positioning actions

Definition at line 269 of file OversampleOutput.C.

270 {
271  // Create the new mesh from a file
272  if (isParamValid("file"))
273  {
274  InputParameters mesh_params = emptyInputParameters();
275  mesh_params += _mesh_ptr->parameters();
276  mesh_params.set<MeshFileName>("file") = getParam<MeshFileName>("file");
277  mesh_params.set<bool>("nemesis") = false;
278  mesh_params.set<bool>("skip_partitioning") = false;
279  mesh_params.set<std::string>("_object_name") = "output_problem_mesh";
280  _cloned_mesh_ptr = libmesh_make_unique<FileMesh>(mesh_params);
281  _cloned_mesh_ptr->allowRecovery(false); // We actually want to reread the initial mesh
282  _cloned_mesh_ptr->init();
283  _cloned_mesh_ptr->prepare();
284  _cloned_mesh_ptr->meshChanged();
285  }
286 
287  // Clone the existing mesh
288  else
289  {
290  if (_app.isRecovering())
291  mooseWarning("Recovering or Restarting with Oversampling may not work (especially with "
292  "adapted meshes)!! Refs #2295");
293 
295  }
296 
297  // Make sure that the mesh pointer points to the newly cloned mesh
298  _mesh_ptr = _cloned_mesh_ptr.get();
299 }

Referenced by OversampleOutput::initOversample().

◆ declareRecoverableData() [1/2]

template<typename T >
T & Restartable::declareRecoverableData ( const std::string &  data_name)
protectedinherited

Declare a piece of data as "recoverable".

This means that in the event of a recovery this piece of data will be restored back to its previous value.

Note - this data will NOT be restored on Restart!

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)

Definition at line 295 of file Restartable.h.

296 {
297  std::string full_name = _restartable_system_name + "/" + _restartable_name + "/" + data_name;
298 
300 
301  return declareRestartableDataWithContext<T>(data_name, nullptr);
302 }

◆ declareRecoverableData() [2/2]

template<typename T >
T & Restartable::declareRecoverableData ( const std::string &  data_name,
const T &  init_value 
)
protectedinherited

Declare a piece of data as "restartable" and initialize it.

This means that in the event of a restart this piece of data will be restored back to its previous value.

Note - this data will NOT be restored on Restart!

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
init_valueThe initial value of the data

Definition at line 306 of file Restartable.h.

307 {
308  std::string full_name = _restartable_system_name + "/" + _restartable_name + "/" + data_name;
309 
311 
312  return declareRestartableDataWithContext<T>(data_name, init_value, nullptr);
313 }

◆ declareRestartableDataTempl() [1/2]

template<typename T >
T & Restartable::declareRestartableDataTempl ( const std::string &  data_name)
protectedinherited

Declare a piece of data as "restartable".

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)

Definition at line 222 of file Restartable.h.

223 {
224  return declareRestartableDataWithContext<T>(data_name, nullptr);
225 }

◆ declareRestartableDataTempl() [2/2]

template<typename T >
T & Restartable::declareRestartableDataTempl ( const std::string &  data_name,
const T &  init_value 
)
protectedinherited

Declare a piece of data as "restartable" and initialize it.

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
init_valueThe initial value of the data

Definition at line 229 of file Restartable.h.

230 {
231  return declareRestartableDataWithContext<T>(data_name, init_value, nullptr);
232 }

◆ declareRestartableDataWithContext() [1/2]

template<typename T >
T & Restartable::declareRestartableDataWithContext ( const std::string &  data_name,
const T &  init_value,
void *  context 
)
protectedinherited

Declare a piece of data as "restartable" and initialize it.

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
init_valueThe initial value of the data
contextContext pointer that will be passed to the load and store functions

Definition at line 250 of file Restartable.h.

253 {
254  std::string full_name = _restartable_system_name + "/" + _restartable_name + "/" + data_name;
255 
256  // Here we will create the RestartableData even though we may not use this instance.
257  // If it's already in use, the App will return a reference to the existing instance and we'll
258  // return that one instead. We might refactor this to have the app create the RestartableData
259  // at a later date.
260  auto data_ptr = libmesh_make_unique<RestartableData<T>>(full_name, context);
261  auto & restartable_data_ref = static_cast<RestartableData<T> &>(
262  registerRestartableDataOnApp(full_name, std::move(data_ptr), _restartable_tid));
263 
264  restartable_data_ref.set() = init_value;
265  return restartable_data_ref.get();
266 }

◆ declareRestartableDataWithContext() [2/2]

template<typename T >
T & Restartable::declareRestartableDataWithContext ( const std::string &  data_name,
void *  context 
)
protectedinherited

Declare a piece of data as "restartable".

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
contextContext pointer that will be passed to the load and store functions

Definition at line 236 of file Restartable.h.

237 {
238  std::string full_name = _restartable_system_name + "/" + _restartable_name + "/" + data_name;
239  auto data_ptr = libmesh_make_unique<RestartableData<T>>(full_name, context);
240 
241  // See comment in overloaded version of this function with "init_value"
242  auto & restartable_data_ref = static_cast<RestartableData<T> &>(
243  registerRestartableDataOnApp(full_name, std::move(data_ptr), _restartable_tid));
244 
245  return restartable_data_ref.get();
246 }

◆ declareRestartableDataWithObjectName()

template<typename T >
T & Restartable::declareRestartableDataWithObjectName ( const std::string &  data_name,
const std::string &  object_name 
)
protectedinherited

Declare a piece of data as "restartable".

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
object_nameA supplied name for the object that is declaring this data.

Definition at line 270 of file Restartable.h.

272 {
273  return declareRestartableDataWithObjectNameWithContext<T>(data_name, object_name, nullptr);
274 }

◆ declareRestartableDataWithObjectNameWithContext()

template<typename T >
T & Restartable::declareRestartableDataWithObjectNameWithContext ( const std::string &  data_name,
const std::string &  object_name,
void *  context 
)
protectedinherited

Declare a piece of data as "restartable".

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
object_nameA supplied name for the object that is declaring this data.
contextContext pointer that will be passed to the load and store functions

Definition at line 278 of file Restartable.h.

281 {
282  std::string old_name = _restartable_name;
283 
284  _restartable_name = object_name;
285 
286  T & value = declareRestartableDataWithContext<T>(data_name, context);
287 
288  _restartable_name = old_name;
289 
290  return value;
291 }

◆ declareRestartableDataWithPrefixOverrideAndContext()

template<typename T >
T& Restartable::declareRestartableDataWithPrefixOverrideAndContext ( const std::string &  data_name,
const std::string &  prefix,
void *  context 
)
protectedinherited

Declare a piece of data as "restartable".

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
prefixThe prefix to prepend to the data_name, to retrieve data from another object.
contextContext pointer that will be passed to the load and store functions

◆ dt()

Real Output::dt ( )
virtualinherited

Get the current time step size.

Definition at line 245 of file Output.C.

246 {
247  if (_transient)
248  return _dt;
249  else
250  return 1;
251 }

Referenced by Console::writeTimestepInformation().

◆ dtOld()

Real Output::dtOld ( )
virtualinherited

Get old time step size.

Definition at line 254 of file Output.C.

255 {
256  if (_transient)
257  return _dt_old;
258  else
259  return 1;
260 }

◆ enabled()

virtual bool MooseObject::enabled ( ) const
inlinevirtualinherited

Return the enabled status of the object.

Reimplemented in EigenKernel.

Definition at line 110 of file MooseObject.h.

110 { return _enabled; }

Referenced by EigenKernel::enabled().

◆ enableOutputTypes()

InputParameters AdvancedOutput::enableOutputTypes ( const std::string &  names = std::string())
staticinherited

A method for enabling individual output type control.

Parameters
names(optional) Space separated of output type names that are supported by this Output object, if this is omitted all outputs types will be supported. The list of available output types is given below.

Output objects vary widely in what type of outputs they support (e.g., elemental variables, or postprocessor data). This method provides the user a means for controlling the types of outputs that are supported for the object being created. This is a static method that MUST be used to append parameters inside the objects validParams function.

List of Output Types and Method Names The output system is designed around overloading virtual method calls to output the various output types, the following list gives the name of the output type and the associated virtual method that should be overloaded to perform the output in the object being created.

Type virtual Method Name


nodal outputNodalVariables() elemental outputElementalVariables() scalar outputScalarVariables() postprocessor outputPostprocessors() vector_postprocessor outputVectorPostprocessors() input outputInput() system_information outputSystemInformation()

See also
CSV Exodus

Definition at line 102 of file AdvancedOutput.C.

103 {
104  // The parameters object that will be returned
106 
107  // Get the MultiEnum of output types
108  MultiMooseEnum output_types = getOutputTypes();
109 
110  // Update the enum of output types to append
111  if (names.empty())
112  output_types = output_types.getRawNames();
113  else
114  output_types = names;
115 
116  // Add the parameters and return them
117  addValidParams(params, output_types);
118  return params;
119 }

Referenced by Console::validParams(), Exodus::validParams(), Nemesis::validParams(), and TableOutput::validParams().

◆ execBitFlags()

ExecFlagType SetupInterface::execBitFlags ( ) const
inherited

(DEPRECATED) Build and return the execution flags as a bitfield TODO: ExecFlagType

Definition at line 87 of file SetupInterface.C.

88 {
89  // TODO: ExecFlagType
90  mooseDeprecated("The execBitFlags method is being removed because MOOSE was updated to use a "
91  "ExecFlagEnum for execute flags. This method maintains the behavior of the "
92  "original method but the use of this method should be removed from your "
93  "application. The ExecFlagEnum should be inspected directly via the "
94  "getExecuteOnEnum() method.");
95 
96  unsigned int exec_bit_field = EXEC_NONE;
97  for (const auto & flag : _exec_flags)
98  exec_bit_field |= flag.id();
99  return ExecFlagType("deprecated", exec_bit_field);
100 }

◆ execFlags()

const std::vector< ExecFlagType > & SetupInterface::execFlags ( ) const
virtualinherited

(DEPRECATED) Get the execution flag for the object TODO: ExecFlagType

Reimplemented in MultiAppTransfer.

Definition at line 75 of file SetupInterface.C.

76 {
77  // TODO: ExecFlagType
78  mooseDeprecated("The execFlags() method is being removed because MOOSE has been updated to use a "
79  "ExecFlagEnum for execute flags. The current flags should be retrieved from "
80  "the \"exeucte_on\" parameters of your object or by using the \"_execute_enum\" "
81  "reference to the parameter or the getExecuteOnEnum() method.");
82 
83  return _exec_flags;
84 }

◆ executeOn()

const MultiMooseEnum & Output::executeOn ( ) const
inherited

Get the current 'execute_on' selections for display.

Definition at line 269 of file Output.C.

270 {
271  return _execute_on;
272 }

◆ filename()

std::string Tecplot::filename ( )
overrideprotectedvirtual

Returns the current filename, this method handles adding the timestep suffix.

Returns
A string containing the current filename to be written

Reimplemented from FileOutput.

Definition at line 89 of file Tecplot.C.

90 {
91  std::ostringstream output;
92  output << _file_base;
93 
94  // If not appending, put the padded time step in the filename.
95  if (_binary || !_ascii_append)
96  output << "_" << std::setw(_padding) << std::setprecision(0) << std::setfill('0') << std::right
97  << _file_num;
98 
99  // .plt extension is for binary files
100  // .dat extension is for ASCII files
101  if (_binary)
102  return output.str() + ".plt";
103  else
104  return output.str() + ".dat";
105 }

Referenced by output().

◆ getCheckedPointerParam()

template<typename T >
T MooseObject::getCheckedPointerParam ( const std::string &  name,
const std::string &  error_string = "" 
) const
inlineinherited

Verifies that the requested parameter exists and is not NULL and returns it to the caller.

The template parameter must be a pointer or an error will be thrown.

Definition at line 91 of file MooseObject.h.

92  {
93  return parameters().getCheckedPointerParam<T>(name, error_string);
94  }

◆ getDefaultExecFlagEnum()

ExecFlagEnum Output::getDefaultExecFlagEnum ( )
staticinherited

Return an ExecFlagEnum object with the available execution flags for Output objects.

Definition at line 79 of file Output.C.

80 {
82  exec_enum.addAvailableFlags(EXEC_FAILED);
83  return exec_enum;
84 }

Referenced by CommonOutputAction::validParams(), and Output::validParams().

◆ getElementalVariableOutput()

const std::set< std::string > & AdvancedOutput::getElementalVariableOutput ( )
inherited

The list of elemental nonlinear variables names that are set for output.

Returns
A vector of strings containing the names of the nonlinear variables for output
See also
hasElementalVariableOutput

Definition at line 746 of file AdvancedOutput.C.

747 {
748  return _execute_data["elemental"].output;
749 }

Referenced by Nemesis::output(), and Exodus::outputElementalVariables().

◆ getExecuteOnEnum()

const ExecFlagEnum & SetupInterface::getExecuteOnEnum ( ) const
inherited

Return the execute on MultiMooseEnum for this object.

Definition at line 69 of file SetupInterface.C.

70 {
71  return _execute_enum;
72 }

Referenced by ChangeOverTimePostprocessor::ChangeOverTimePostprocessor(), and MultiAppTransfer::checkMultiAppExecuteOn().

◆ getExecuteOptions()

ExecFlagEnum SetupInterface::getExecuteOptions ( )
staticinherited

(DEPRECATED) Returns the available options for the 'execute_on' input parameters TODO: ExecFlagType

Returns
A MooseEnum with the available 'execute_on' options, the default is 'residual'

Definition at line 103 of file SetupInterface.C.

104 {
105  // TODO: ExecFlagType
106  ::mooseDeprecated("The 'getExecuteOptions' was replaced by the ExecFlagEnum class because MOOSE "
107  "was updated to use this for the execute flags and the new function provides "
108  "additional arguments for modification of the enum.");
110 }

◆ getFileNumber()

unsigned int FileOutput::getFileNumber ( )
inherited

Return the current file number for this outputter.

This method was implemented for the MultiApp system, particularly when reseting an application and a new output file is desired after the reset.

Definition at line 150 of file FileOutput.C.

151 {
152  return _file_num;
153 }

Referenced by OutputWarehouse::getFileNumbers().

◆ getMooseApp()

MooseApp& MooseObject::getMooseApp ( ) const
inlineinherited

Get the MooseApp this object is associated with.

Definition at line 105 of file MooseObject.h.

105 { return _app; }

Referenced by MortarData::createMortarInterface(), Executioner::Executioner(), and ConsoleUtils::outputMeshInformation().

◆ getNodalVariableOutput()

const std::set< std::string > & AdvancedOutput::getNodalVariableOutput ( )
inherited

The list of nodal nonlinear variables names that are set for output.

Returns
A vector of strings containing the names of the nodal nonlinear variables for output

Note: The list returned by this will contain the names of both elemental and nodal variable names if 'elemental_as_nodal = true' in the input file. The libMesh output system (EquationSystems::build_solution_vector) performs the correct action within the solution vector by setting the nodal values as the average of the values for each of the element that the node shares.

See also
hasNodalVariableOutput

Definition at line 734 of file AdvancedOutput.C.

735 {
736  return _execute_data["nodal"].output;
737 }

Referenced by Nemesis::output(), and Exodus::outputNodalVariables().

◆ getOutputTypes()

MultiMooseEnum AdvancedOutput::getOutputTypes ( )
staticprivateinherited

Get the supported types of output (e.g., postprocessors, etc.)

Definition at line 94 of file AdvancedOutput.C.

95 {
96  return MultiMooseEnum("nodal=0 elemental=1 scalar=2 postprocessor=3 vector_postprocessor=4 "
97  "input=5 system_information=6");
98 }

Referenced by AdvancedOutput::enableOutputTypes().

◆ getParamTempl()

template<typename T >
const T & MooseObject::getParamTempl ( const std::string &  name) const
inherited

◆ getPostprocessorOutput()

const std::set< std::string > & AdvancedOutput::getPostprocessorOutput ( )
inherited

The list of postprocessor names that are set for output.

Returns
A vector of strings containing the names of the postprocessor variables for output
See also
hasPostprocessorOutput

Definition at line 770 of file AdvancedOutput.C.

771 {
772  return _execute_data["postprocessors"].output;
773 }

Referenced by TableOutput::outputPostprocessors(), Nemesis::outputPostprocessors(), and Exodus::outputPostprocessors().

◆ getScalarOutput()

const std::set< std::string > & AdvancedOutput::getScalarOutput ( )
inherited

The list of scalar variables names that are set for output.

Returns
A vector of strings containing the names of the scalar variables for output
See also
hasScalarVariableOutput

Definition at line 758 of file AdvancedOutput.C.

759 {
760  return _execute_data["scalars"].output;
761 }

Referenced by TableOutput::outputScalarVariables(), Nemesis::outputScalarVariables(), and Exodus::outputScalarVariables().

◆ getVectorPostprocessorOutput()

const std::set< std::string > & AdvancedOutput::getVectorPostprocessorOutput ( )
inherited

The list of VectorPostprocessor names that are set for output.

Returns
A vector of strings containing the names of the VectorPostprocessor variables for output
See also
hasVectorPostprocessorOutput

Definition at line 782 of file AdvancedOutput.C.

783 {
784  return _execute_data["vector_postprocessors"].output;
785 }

Referenced by CSV::initialSetup(), and TableOutput::outputVectorPostprocessors().

◆ hasElementalVariableOutput()

bool AdvancedOutput::hasElementalVariableOutput ( )
inherited

Returns true if there exists elemental nonlinear variables for output.

Returns
True if nonlinear variable output exists
See also
getElementalVariableOutput

Definition at line 740 of file AdvancedOutput.C.

741 {
742  return hasOutputHelper("elemental");
743 }

Referenced by Exodus::initialSetup().

◆ hasNodalVariableOutput()

bool AdvancedOutput::hasNodalVariableOutput ( )
inherited

Returns true if there exists nodal nonlinear variables for output.

Returns
True if nonlinear variable output exists
See also
getNodalVariableOutput

Definition at line 728 of file AdvancedOutput.C.

729 {
730  return hasOutputHelper("nodal");
731 }

Referenced by Exodus::initialSetup(), and Exodus::outputElementalVariables().

◆ hasOutput() [1/2]

bool AdvancedOutput::hasOutput ( )
virtualinherited

Returns true if any of the other has methods return true.

Definition at line 351 of file AdvancedOutput.C.

352 {
353  // Test that variables exist for output AND that output execution flags are valid
354  for (const auto & it : _execute_data)
355  if (!(it.second).output.empty() && _advanced_execute_on.contains(it.first) &&
356  _advanced_execute_on[it.first].isValid())
357  return true;
358 
359  // Test execution flags for non-variable output
360  if (_advanced_execute_on.contains("system_information") &&
361  _advanced_execute_on["system_information"].isValid())
362  return true;
363  if (_advanced_execute_on.contains("input") && _advanced_execute_on["input"].isValid())
364  return true;
365 
366  return false;
367 }

Referenced by Exodus::initialSetup(), and AdvancedOutput::shouldOutput().

◆ hasOutput() [2/2]

bool AdvancedOutput::hasOutput ( const ExecFlagType type)
inherited

Tests that any output exist for the given output type.

See also
Exodus

Definition at line 339 of file AdvancedOutput.C.

340 {
341  // If any of the component outputs are true, then there is some output to perform
342  for (const auto & it : _advanced_execute_on)
343  if (wantOutput(it.first, type))
344  return true;
345 
346  // There is nothing to output
347  return false;
348 }

◆ hasOutputHelper()

bool AdvancedOutput::hasOutputHelper ( const std::string &  name)
privateinherited

Helper method for checking if output types exists.

Parameters
nameThe name of the output type to test (e.g., postprocessors)

Definition at line 716 of file AdvancedOutput.C.

717 {
718  if (!_initialized)
719  mooseError("The output object must be initialized before it may be determined if ",
720  name,
721  " output is enabled.");
722 
723  return !_execute_data[name].output.empty() && _advanced_execute_on.contains(name) &&
725 }

Referenced by AdvancedOutput::hasElementalVariableOutput(), AdvancedOutput::hasNodalVariableOutput(), AdvancedOutput::hasPostprocessorOutput(), AdvancedOutput::hasScalarOutput(), and AdvancedOutput::hasVectorPostprocessorOutput().

◆ hasPostprocessorOutput()

bool AdvancedOutput::hasPostprocessorOutput ( )
inherited

Returns true if there exists postprocessors for output.

Returns
True if postprocessor output exists
See also
getPostprocessorOutput

Definition at line 764 of file AdvancedOutput.C.

765 {
766  return hasOutputHelper("postprocessors");
767 }

Referenced by Exodus::initialSetup().

◆ hasScalarOutput()

bool AdvancedOutput::hasScalarOutput ( )
inherited

Returns true if there exists scalar variables for output.

Returns
True if scalar variable output exists
See also
getScalarVariableOutput

Definition at line 752 of file AdvancedOutput.C.

753 {
754  return hasOutputHelper("scalars");
755 }

Referenced by Exodus::initialSetup().

◆ hasVectorPostprocessorOutput()

bool AdvancedOutput::hasVectorPostprocessorOutput ( )
inherited

Returns true if there exists VectorPostprocessors for output.

Returns
True if VectorPostprocessor output exists
See also
getVectorPostprocessorOutput

Definition at line 776 of file AdvancedOutput.C.

777 {
778  return hasOutputHelper("vector_postprocessors");
779 }

◆ initAvailableLists()

void AdvancedOutput::initAvailableLists ( )
privateinherited

Initializes the available lists for each of the output types.

Definition at line 370 of file AdvancedOutput.C.

371 {
372  // Initialize Postprocessor list
373  // This flag is set to true if any postprocessor has the 'outputs' parameter set, it is then used
374  // to produce an warning if postprocessor output is disabled
375  initPostprocessorOrVectorPostprocessorLists<Postprocessor>("postprocessors");
376 
377  // Initialize vector postprocessor list
378  // This flag is set to true if any vector postprocessor has the 'outputs' parameter set, it is
379  // then used
380  // to produce an warning if vector postprocessor output is disabled
381  initPostprocessorOrVectorPostprocessorLists<VectorPostprocessor>("vector_postprocessors");
382 
383  // Get a list of the available variables
384  std::vector<VariableName> variables = _problem_ptr->getVariableNames();
385 
386  // Loop through the variables and store the names in the correct available lists
387  for (const auto & var_name : variables)
388  {
389  if (_problem_ptr->hasVariable(var_name))
390  {
393  const FEType type = var.feType();
394  for (unsigned int i = 0; i < var.count(); ++i)
395  {
396  VariableName vname = var_name;
397  if (var.count() > 1)
398  vname = SubProblem::arrayVariableComponent(var_name, i);
399 
400  if (type.order == CONSTANT && type.family != MONOMIAL_VEC)
401  _execute_data["elemental"].available.insert(vname);
402  else if (type.family == NEDELEC_ONE || type.family == LAGRANGE_VEC ||
403  type.family == MONOMIAL_VEC)
404  {
405  switch (_es_ptr->get_mesh().spatial_dimension())
406  {
407  case 0:
408  case 1:
409  _execute_data["nodal"].available.insert(vname);
410  break;
411  case 2:
412  _execute_data["nodal"].available.insert(vname + "_x");
413  _execute_data["nodal"].available.insert(vname + "_y");
414  break;
415  case 3:
416  _execute_data["nodal"].available.insert(vname + "_x");
417  _execute_data["nodal"].available.insert(vname + "_y");
418  _execute_data["nodal"].available.insert(vname + "_z");
419  break;
420  }
421  }
422  else
423  _execute_data["nodal"].available.insert(vname);
424  }
425  }
426 
427  else if (_problem_ptr->hasScalarVariable(var_name))
428  _execute_data["scalars"].available.insert(var_name);
429  }
430 }

Referenced by AdvancedOutput::initialSetup().

◆ initExecutionTypes()

void AdvancedOutput::initExecutionTypes ( const std::string &  name,
ExecFlagEnum input 
)
privateinherited

Initialize the possible execution types.

Parameters
nameThe name of the supplied MultiMoose enum from the _execute_on std::map (e.g., scalars)
inputThe ExecFlagEnum for output type flags to initialize

Definition at line 433 of file AdvancedOutput.C.

434 {
435  // Build the input paramemter name
436  std::string param_name = "execute_";
437  param_name += name + "_on";
438 
439  // The parameters exists and has been set by the user
440  if (_pars.have_parameter<ExecFlagEnum>(param_name) && isParamValid(param_name))
441  input = getParam<ExecFlagEnum>(param_name);
442 
443  // If the parameter does not exists; set it to a state where no valid entries exists so nothing
444  // gets executed
445  else if (!_pars.have_parameter<ExecFlagEnum>(param_name))
446  {
447  input = _execute_on;
448  input.clear();
449  }
450 }

Referenced by AdvancedOutput::initialSetup().

◆ initialSetup()

void OversampleOutput::initialSetup ( )
overridevirtualinherited

Initialization method.

This populates the various data structures needed to control the output

Reimplemented from AdvancedOutput.

Reimplemented in Exodus.

Definition at line 73 of file OversampleOutput.C.

74 {
76 
77  // Creates and initializes the oversampled mesh
79 }

Referenced by Exodus::initialSetup().

◆ initOutputList()

void AdvancedOutput::initOutputList ( OutputData data)
privateinherited

Initializes the list of items to be output using the available, show, and hide lists.

Parameters
dataThe OutputData to operate on

Definition at line 577 of file AdvancedOutput.C.

578 {
579  // References to the vectors of variable names
580  std::set<std::string> & hide = data.hide;
581  std::set<std::string> & show = data.show;
582  std::set<std::string> & avail = data.available;
583  std::set<std::string> & output = data.output;
584 
585  // Append the list from OutputInterface objects
586  std::set<std::string> interface_hide;
588  hide.insert(interface_hide.begin(), interface_hide.end());
589 
590  // Both show and hide are empty and no show/hide settings were provided (show all available)
591  if (show.empty() && hide.empty() && !_execute_data.hasShowList())
592  output = avail;
593 
594  // Only hide is empty (show all the variables listed)
595  else if (!show.empty() && hide.empty())
596  output = show;
597 
598  // Only show is empty (show all except those hidden)
599  else if (show.empty() && !hide.empty())
600  std::set_difference(avail.begin(),
601  avail.end(),
602  hide.begin(),
603  hide.end(),
604  std::inserter(output, output.begin()));
605 
606  // Both hide and show are present (show all those listed)
607  else
608  {
609  // Check if variables are in both, which is invalid
610  std::vector<std::string> tmp;
611  std::set_intersection(
612  hide.begin(), hide.end(), show.begin(), show.end(), std::inserter(tmp, tmp.begin()));
613  if (!tmp.empty())
614  {
615  std::ostringstream oss;
616  oss << "Output(s) specified to be both shown and hidden: ";
617  std::copy(tmp.begin(), tmp.end(), infix_ostream_iterator<std::string>(oss, " "));
618  mooseError(oss.str());
619  }
620 
621  // Define the output variable list
622  output = show;
623  }
624 }

Referenced by AdvancedOutput::initialSetup().

◆ initOversample()

void OversampleOutput::initOversample ( )
privateinherited

Setups the output object to produce re-positioned and/or oversampled results.

This is accomplished by creating a new, finer mesh that the existing solution is projected upon. This function is called by the creating action (addOutputAction) and should not be called by the user as it will create a memory leak if called multiple times.

Definition at line 122 of file OversampleOutput.C.

123 {
124  // Perform the mesh cloning, if needed
126  cloneMesh();
127  else
128  return;
129 
130  // Re-position the oversampled mesh
131  if (_change_position)
132  for (auto & node : _mesh_ptr->getMesh().node_ptr_range())
133  *node += _position;
134 
135  // Perform the mesh refinement
136  if (_oversample)
137  {
138  MeshRefinement mesh_refinement(_mesh_ptr->getMesh());
139 
140  // We want original and refined partitioning to match so we can
141  // query from one to the other safely on distributed meshes.
142  _mesh_ptr->getMesh().skip_partitioning(true);
143  mesh_refinement.uniformly_refine(_refinements);
144  }
145 
146  // We can't allow renumbering if we want to output multiple time
147  // steps to the same Exodus file
148  _mesh_ptr->getMesh().allow_renumbering(false);
149 
150  // Create the new EquationSystems
151  _oversample_es = libmesh_make_unique<EquationSystems>(_mesh_ptr->getMesh());
152  _es_ptr = _oversample_es.get();
153 
154  // Reference the system from which we are copying
155  EquationSystems & source_es = _problem_ptr->es();
156 
157  // If we're going to be copying from that system later, we need to keep its
158  // original elements as ghost elements even if it gets grossly
159  // repartitioned, since we can't repartition the oversample mesh to
160  // match.
161  DistributedMesh * dist_mesh = dynamic_cast<DistributedMesh *>(&source_es.get_mesh());
162  if (dist_mesh)
163  {
164  for (auto & elem : dist_mesh->active_local_element_ptr_range())
165  dist_mesh->add_extra_ghost_elem(elem);
166  }
167 
168  // Initialize the _mesh_functions vector
169  unsigned int num_systems = source_es.n_systems();
170  _mesh_functions.resize(num_systems);
171 
172  // Loop over the number of systems
173  for (unsigned int sys_num = 0; sys_num < num_systems; sys_num++)
174  {
175  // Reference to the current system
176  System & source_sys = source_es.get_system(sys_num);
177 
178  // Add the system to the new EquationsSystems
179  ExplicitSystem & dest_sys = _oversample_es->add_system<ExplicitSystem>(source_sys.name());
180 
181  // Loop through the variables in the System
182  unsigned int num_vars = source_sys.n_vars();
183  if (num_vars > 0)
184  {
185  _mesh_functions[sys_num].resize(num_vars);
186  _serialized_solution = NumericVector<Number>::build(_communicator);
187  _serialized_solution->init(source_sys.n_dofs(), false, SERIAL);
188 
189  // Need to pull down a full copy of this vector on every processor so we can get values in
190  // parallel
191  source_sys.solution->localize(*_serialized_solution);
192 
193  // Add the variables to the system... simultaneously creating MeshFunctions for them.
194  for (unsigned int var_num = 0; var_num < num_vars; var_num++)
195  {
196  // Add the variable, allow for first and second lagrange
197  const FEType & fe_type = source_sys.variable_type(var_num);
198  FEType second(SECOND, LAGRANGE);
199  if (fe_type == second)
200  dest_sys.add_variable(source_sys.variable_name(var_num), second);
201  else
202  dest_sys.add_variable(source_sys.variable_name(var_num), FEType());
203  }
204  }
205  }
206 
207  // Initialize the newly created EquationSystem
208  _oversample_es->init();
209 }

Referenced by OversampleOutput::initialSetup().

◆ initPostprocessorOrVectorPostprocessorLists()

template<typename postprocessor_type >
void AdvancedOutput::initPostprocessorOrVectorPostprocessorLists ( const std::string &  execute_data_name)
privateinherited

Helper function for initAvailableLists, templated on warehouse type and postprocessor_type.

Parameters
execute_data_nameName of the OutputData struct to initialize
warehouseReference to the postprocessor or vector postprocessor warehouse

Definition at line 347 of file AdvancedOutput.h.

348 {
349  // Convenience reference to the OutputData being operated on (should used "postprocessors" or
350  // "vector_postprocessors")
351  OutputData & execute_data = _execute_data[execute_data_name];
352 
353  // Build the input file parameter name (i.e. "output_postprocessors_on" or
354  // "output_vector_postprocessors_on")
355  std::ostringstream oss;
356  oss << "execute_" << execute_data_name << "_on";
357  std::string execute_on_name = oss.str();
358 
359  // True if the postprocessors has been limited using 'outputs' parameter
360  bool has_limited_pps = false;
361 
362  std::vector<UserObject *> objs;
364  .query()
365  .condition<AttribSystem>("UserObject")
366  .condition<AttribThread>(0)
367  .queryInto(objs);
368 
369  for (const auto & obj : objs)
370  {
371  auto pps = dynamic_cast<postprocessor_type *>(obj);
372  if (!pps)
373  continue;
374 
375  execute_data.available.insert(pps->PPName());
376 
377  // Extract the list of outputs
378  const auto & pps_outputs = pps->getOutputs();
379 
380  // Check that the outputs lists are valid
381  _app.getOutputWarehouse().checkOutputs(pps_outputs);
382 
383  // Check that the output object allows postprocessor output,
384  // account for "all" keyword (if it is present assume "all" was desired)
385  if (pps_outputs.find(name()) != pps_outputs.end() ||
386  pps_outputs.find("all") != pps_outputs.end())
387  {
388  if (!_advanced_execute_on.contains(execute_data_name) ||
389  (_advanced_execute_on[execute_data_name].isValid() &&
390  _advanced_execute_on[execute_data_name].contains("none")))
391  mooseWarning(
392  "Postprocessor '",
393  pps->PPName(),
394  "' has requested to be output by the '",
395  name(),
396  "' output, but postprocessor output is not support by this type of output object.");
397  }
398 
399  // Set the flag state for postprocessors that utilize 'outputs' parameter
400  if (!pps_outputs.empty() && pps_outputs.find("all") == pps_outputs.end())
401  has_limited_pps = true;
402  }
403 
404  // Produce the warning when 'outputs' is used, but postprocessor output is disabled
405  if (has_limited_pps && isParamValid(execute_on_name))
406  {
407  const ExecFlagEnum & pp_on = getParam<ExecFlagEnum>(execute_on_name);
408  if (pp_on.contains(EXEC_NONE))
409  {
410  if (execute_on_name == "execute_postprocessors_on")
411  mooseWarning("A Postprocessor utilizes the 'outputs' parameter; however, postprocessor "
412  "output is disabled for the '",
413  name(),
414  "' output object.");
415  else if (execute_on_name == "execute_vectorpostprocessors_on")
416  mooseWarning("A VectorPostprocessor utilizes the 'outputs' parameter; however, vector "
417  "postprocessor output is disabled for the '",
418  name(),
419  "' output object.");
420  }
421  }
422 }

◆ initShowHideLists()

void AdvancedOutput::initShowHideLists ( const std::vector< VariableName > &  show,
const std::vector< VariableName > &  hide 
)
privateinherited

Parses the user-supplied input for hiding and showing variables and postprocessors into a list for each type of output.

Parameters
showThe vector of names that are to be output
hideThe vector of names that are to be suppressed from the output

Definition at line 453 of file AdvancedOutput.C.

455 {
456 
457  // Storage for user-supplied input that is unknown as a variable or postprocessor
458  std::set<std::string> unknown;
459 
460  // If a show hide/list exists, let the data warehouse know about it. This allows for the proper
461  // handling of output lists (see initOutputList)
462  if (show.size() > 0)
464 
465  // Populate the show lists
466  for (const auto & var_name : show)
467  {
468  if (_problem_ptr->hasVariable(var_name))
469  {
472  const FEType type = var.feType();
473  for (unsigned int i = 0; i < var.count(); ++i)
474  {
475  VariableName vname = var_name;
476  if (var.count() > 1)
477  vname = SubProblem::arrayVariableComponent(var_name, i);
478 
479  if (type.order == CONSTANT)
480  _execute_data["elemental"].show.insert(vname);
481  else if (type.family == NEDELEC_ONE || type.family == LAGRANGE_VEC ||
482  type.family == MONOMIAL_VEC)
483  {
484  switch (_es_ptr->get_mesh().spatial_dimension())
485  {
486  case 0:
487  case 1:
488  _execute_data["nodal"].show.insert(vname);
489  break;
490  case 2:
491  _execute_data["nodal"].show.insert(vname + "_x");
492  _execute_data["nodal"].show.insert(vname + "_y");
493  break;
494  case 3:
495  _execute_data["nodal"].show.insert(vname + "_x");
496  _execute_data["nodal"].show.insert(vname + "_y");
497  _execute_data["nodal"].show.insert(vname + "_z");
498  break;
499  }
500  }
501  else
502  _execute_data["nodal"].show.insert(vname);
503  }
504  }
505  else if (_problem_ptr->hasScalarVariable(var_name))
506  _execute_data["scalars"].show.insert(var_name);
507  else if (_problem_ptr->hasPostprocessor(var_name))
508  _execute_data["postprocessors"].show.insert(var_name);
509  else if (_problem_ptr->hasVectorPostprocessor(var_name))
510  _execute_data["vector_postprocessors"].show.insert(var_name);
511  else
512  unknown.insert(var_name);
513  }
514 
515  // Populate the hide lists
516  for (const auto & var_name : hide)
517  {
518  if (_problem_ptr->hasVariable(var_name))
519  {
522  const FEType type = var.feType();
523  for (unsigned int i = 0; i < var.count(); ++i)
524  {
525  VariableName vname = var_name;
526  if (var.count() > 1)
527  vname = SubProblem::arrayVariableComponent(var_name, i);
528 
529  if (type.order == CONSTANT)
530  _execute_data["elemental"].hide.insert(vname);
531  else if (type.family == NEDELEC_ONE || type.family == LAGRANGE_VEC ||
532  type.family == MONOMIAL_VEC)
533  {
534  switch (_es_ptr->get_mesh().spatial_dimension())
535  {
536  case 0:
537  case 1:
538  _execute_data["nodal"].hide.insert(vname);
539  break;
540  case 2:
541  _execute_data["nodal"].hide.insert(vname + "_x");
542  _execute_data["nodal"].hide.insert(vname + "_y");
543  break;
544  case 3:
545  _execute_data["nodal"].hide.insert(vname + "_x");
546  _execute_data["nodal"].hide.insert(vname + "_y");
547  _execute_data["nodal"].hide.insert(vname + "_z");
548  break;
549  }
550  }
551  else
552  _execute_data["nodal"].hide.insert(vname);
553  }
554  }
555  else if (_problem_ptr->hasScalarVariable(var_name))
556  _execute_data["scalars"].hide.insert(var_name);
557  else if (_problem_ptr->hasPostprocessor(var_name))
558  _execute_data["postprocessors"].hide.insert(var_name);
559  else if (_problem_ptr->hasVectorPostprocessor(var_name))
560  _execute_data["vector_postprocessors"].hide.insert(var_name);
561  else
562  unknown.insert(var_name);
563  }
564 
565  // Error if an unknown variable or postprocessor is found
566  if (!unknown.empty())
567  {
568  std::ostringstream oss;
569  oss << "Output(s) do not exist (must be variable, scalar, postprocessor, or vector "
570  "postprocessor): ";
571  std::copy(unknown.begin(), unknown.end(), infix_ostream_iterator<std::string>(oss, " "));
572  mooseError(oss.str());
573  }
574 }

Referenced by AdvancedOutput::initialSetup().

◆ interval()

const unsigned int& Output::interval ( ) const
inherited

Get the output interval.

◆ isAdvanced()

bool Output::isAdvanced ( )
inherited

Returns true if this object is an AdvancedOutput object.

Definition at line 275 of file Output.C.

276 {
277  return _is_advanced;
278 }

◆ isParamValid()

bool MooseObject::isParamValid ( const std::string &  name) const
inlineinherited

Test if the supplied parameter is valid.

Parameters
nameThe name of the parameter to test

Definition at line 100 of file MooseObject.h.

100 { return _pars.isParamValid(name); }

Referenced by AdvancedOutput::AdvancedOutput(), BicubicSplineFunction::BicubicSplineFunction(), DistributedGeneratedMesh::buildMesh(), GeneratedMesh::buildMesh(), CartesianMeshGenerator::CartesianMeshGenerator(), LibmeshPartitioner::clone(), OversampleOutput::cloneMesh(), ConstantVectorPostprocessor::ConstantVectorPostprocessor(), CSVReader::CSVReader(), DGKernelBase::DGKernelBase(), MultiAppNearestNodeTransfer::execute(), Executioner::Executioner(), Exodus::Exodus(), FEProblemBase::FEProblemBase(), FileOutput::FileOutput(), MultiApp::fillPositions(), FunctionDT::FunctionDT(), ExtraNodesetGenerator::generate(), RenameBoundaryGenerator::generate(), RenameBlockGenerator::generate(), BreakBoundaryOnSubdomainGenerator::generate(), ElementSubdomainIDGenerator::generate(), LowerDBlockFromSidesetGenerator::generate(), MeshSideSetGenerator::generate(), GeneratedMeshGenerator::generate(), ParsedSubdomainMeshGenerator::generate(), MeshExtruderGenerator::generate(), SubdomainBoundingBoxGenerator::generate(), MultiAppNearestNodeTransfer::getLocalEntities(), MultiAppNearestNodeTransfer::getLocalEntitiesAndComponents(), MeshGenerator::getMesh(), MultiAppNearestNodeTransfer::getNearestNode(), EigenExecutionerBase::init(), IterationAdaptiveDT::init(), AdvancedOutput::initExecutionTypes(), BlockRestrictable::initializeBlockRestrictable(), BoundaryRestrictable::initializeBoundaryRestrictable(), SolutionScalarAux::initialSetup(), SolutionAux::initialSetup(), MooseParsedVectorFunction::initialSetup(), Console::initialSetup(), Receiver::initialSetup(), SolutionFunction::initialSetup(), MooseParsedGradFunction::initialSetup(), MooseParsedFunction::initialSetup(), AdvancedOutput::initialSetup(), AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(), IterationAdaptiveDT::IterationAdaptiveDT(), LeastSquaresFit::LeastSquaresFit(), LibmeshPartitioner::LibmeshPartitioner(), MatDiffusionBase< Real >::MatDiffusionBase(), MeshGeneratorMesh::MeshGeneratorMesh(), BreakBoundaryOnSubdomain::modify(), MeshExtruder::modify(), MeshSideSet::modify(), LowerDBlockFromSideset::modify(), AssignElementSubdomainID::modify(), ParsedSubdomainMeshModifier::modify(), RenameBlock::modify(), SubdomainBoundingBox::modify(), MooseMesh::MooseMesh(), EigenExecutionerBase::normalizeSolution(), Output::Output(), PetscOutput::PetscOutput(), PiecewiseBase::PiecewiseBase(), SolutionUserObject::readExodusII(), RenameBlock::RenameBlock(), RenameBlockGenerator::RenameBlockGenerator(), RenameBoundaryGenerator::RenameBoundaryGenerator(), SolutionUserObject::SolutionUserObject(), and TimePeriod::TimePeriod().

◆ jacobianSetup()

void SetupInterface::jacobianSetup ( )
virtualinherited

Gets called just before the Jacobian is computed and before this object is asked to do its job.

Reimplemented in EqualValueEmbeddedConstraint.

Definition at line 54 of file SetupInterface.C.

55 {
56 }

◆ meshChanged()

void OversampleOutput::meshChanged ( )
overridevirtualinherited

Called on this object when the mesh changes.

Reimplemented from MeshChangedInterface.

Reimplemented in Exodus.

Definition at line 116 of file OversampleOutput.C.

117 {
119 }

Referenced by Exodus::meshChanged().

◆ mooseDeprecated()

template<typename... Args>
void MooseObject::mooseDeprecated ( Args &&...  args) const
inlineinherited

Definition at line 156 of file MooseObject.h.

157  {
158  moose::internal::mooseDeprecatedStream(_console, false, std::forward<Args>(args)...);
159  }

Referenced by FEProblemBase::addArrayVariable(), FEProblemBase::addAuxArrayVariable(), FEProblemBase::addAuxScalarVariable(), FEProblemBase::addAuxVariable(), FEProblemBase::addScalarVariable(), FEProblemBase::addVariable(), ADFunctionPresetBC< compute_stage >::ADFunctionPresetBC(), ADPresetBC< compute_stage >::ADPresetBC(), ADPresetNodalBC< compute_stage >::ADPresetNodalBC(), FEProblemBase::advanceMultiApps(), MultiApp::appProblem(), MooseMesh::buildSideList(), ChangeOverTimestepPostprocessor::ChangeOverTimestepPostprocessor(), FEProblemBase::computeResidual(), MaterialBase::declarePropertyOlderTempl(), MaterialBase::declarePropertyOldTempl(), MooseMesh::elem(), MultiAppTransfer::execFlags(), UserForcingFunction::f(), FaceFaceConstraint< compute_stage >::FaceFaceConstraint(), FunctionDT::FunctionDT(), FunctionPresetBC::FunctionPresetBC(), RandomICBase::generateRandom(), Control::getExecuteOptions(), FEProblemBase::getNonlinearSystem(), Sampler::getSamples(), FEProblemBase::getUserObjects(), FEProblemBase::getVectorPostprocessorValue(), FEProblemBase::getVectorPostprocessorValueOld(), MatDiffusionBase< Real >::MatDiffusionBase(), NodalScalarKernel::NodalScalarKernel(), MooseMesh::node(), PercentChangePostprocessor::PercentChangePostprocessor(), PresetBC::PresetBC(), PresetNodalBC::PresetNodalBC(), Sampler::rand(), ReferenceResidualProblem::ReferenceResidualProblem(), MooseMesh::setBoundaryToNormalMap(), Exodus::setOutputDimension(), and UserForcingFunction::UserForcingFunction().

◆ mooseError()

template<typename... Args>
void MooseObject::mooseError ( Args &&...  args) const
inlineinherited

Definition at line 141 of file MooseObject.h.

142  {
143  std::ostringstream oss;
144  moose::internal::mooseStreamAll(oss, std::forward<Args>(args)...);
145  std::string msg = oss.str();
146  callMooseErrorRaw(msg, &_app);
147  }

Referenced by GridPartitioner::_do_partition(), PetscExternalPartitioner::_do_partition(), FEProblemBase::addConstraint(), ADDGKernel< compute_stage >::ADDGKernel(), FEProblemBase::addInitialCondition(), FEProblem::addLineSearch(), FEProblemBase::addLineSearch(), FEProblemBase::addOutput(), DiracKernel::addPointWithValidId(), FEProblemBase::addPostprocessor(), MooseMesh::addQuadratureNode(), FEProblemBase::addVectorPostprocessor(), MultiAppConservativeTransfer::adjustTransferedSolution(), MultiAppConservativeTransfer::adjustTransferedSolutionNearestPoint(), ADKernelTempl< T, compute_stage >::ADKernelTempl(), ADPiecewiseLinearInterpolationMaterial< compute_stage >::ADPiecewiseLinearInterpolationMaterial(), Output::advancedExecuteOn(), MooseVariableBase::allDofIndices(), MultiApp::appPostprocessorValue(), MultiApp::appProblem(), MultiApp::appProblemBase(), MultiApp::appUserObjectBase(), ArrayConstantIC::ArrayConstantIC(), ArrayDGKernel::ArrayDGKernel(), ArrayDiffusion::ArrayDiffusion(), ArrayFunctionIC::ArrayFunctionIC(), ArrayReaction::ArrayReaction(), ArrayTimeDerivative::ArrayTimeDerivative(), Function::average(), Axisymmetric2D3DSolutionFunction::Axisymmetric2D3DSolutionFunction(), BicubicSplineFunction::BicubicSplineFunction(), BoundingValueElementDamper::BoundingValueElementDamper(), BoundingValueNodalDamper::BoundingValueNodalDamper(), BoundsAux::BoundsAux(), BreakMeshByBlockGenerator::BreakMeshByBlockGenerator(), BreakMeshByBlockGeneratorBase::BreakMeshByBlockGeneratorBase(), MooseMesh::buildCoarseningMap(), PiecewiseBase::buildFromFile(), PiecewiseBase::buildFromXY(), PiecewiseLinearBase::buildInterpolation(), TiledMesh::buildMesh(), FileMesh::buildMesh(), DistributedGeneratedMesh::buildMesh(), GeneratedMesh::buildMesh(), SpiralAnnularMesh::buildMesh(), ImageMeshGenerator::buildMesh3D(), ImageMesh::buildMesh3D(), MooseMesh::buildMeshBaseObject(), MooseMesh::buildRefinementMap(), MooseMesh::buildSideList(), CartesianMeshGenerator::CartesianMeshGenerator(), ChangeOverTimePostprocessor::ChangeOverTimePostprocessor(), EigenExecutionerBase::chebyshev(), SubProblem::checkBlockMatProps(), SubProblem::checkBoundaryMatProps(), FEProblemBase::checkCoordinateSystems(), FEProblemBase::checkDependMaterialsHelper(), FEProblemBase::checkDisplacementOrders(), MaterialBase::checkExecutionStage(), BreakMeshByBlockBase::checkInputParameter(), Steady::checkIntegrity(), EigenExecutionerBase::checkIntegrity(), ExplicitTimeIntegrator::checkLinearConvergence(), FEProblemBase::checkProblemIntegrity(), MaterialBase::checkStatefulSanity(), FEProblemBase::checkUserObjects(), MultiAppTransfer::checkVariable(), LibmeshPartitioner::clone(), MooseMesh::clone(), ComparisonPostprocessor::comparisonIsTrue(), CompositeFunction::CompositeFunction(), ElementLpNormAux::compute(), ElementH1ErrorFunctionAux::compute(), NodalPatchRecovery::compute(), KernelBase::computeADOffDiagJacobian(), BlockWeightedPartitioner::computeElementWeight(), ArrayDGKernel::computeElemNeighJacobian(), ArrayDGKernel::computeElemNeighResidual(), TimeSequenceStepperBase::computeFailedDT(), IterationAdaptiveDT::computeFailedDT(), TimeStepper::computeFailedDT(), HistogramVectorPostprocessor::computeHistogram(), ArrayKernel::computeJacobian(), ArrayIntegratedBC::computeJacobian(), ArrayIntegratedBC::computeJacobianBlock(), ArrayDGKernel::computeOffDiagElemNeighJacobian(), ArrayKernel::computeOffDiagJacobian(), MaterialBase::computeProperties(), CoupledTiedValueConstraint::computeQpJacobian(), TiedValueConstraint::computeQpJacobian(), LinearNodalConstraint::computeQpJacobian(), EqualValueBoundaryConstraint::computeQpJacobian(), EqualValueEmbeddedConstraint::computeQpJacobian(), CoupledTiedValueConstraint::computeQpOffDiagJacobian(), EqualValueEmbeddedConstraint::computeQpOffDiagJacobian(), KernelValue::computeQpResidual(), ArrayKernel::computeResidual(), ArrayIntegratedBC::computeResidual(), FEProblemBase::computeResidualInternal(), FEProblemBase::computeResidualTag(), FEProblemBase::computeResidualType(), StatisticsVectorPostprocessor::computeStatValue(), MaterialBase::computeSubdomainProperties(), ActuallyExplicitEuler::computeTimeDerivatives(), ExplicitEuler::computeTimeDerivatives(), ImplicitEuler::computeTimeDerivatives(), BDF2::computeTimeDerivatives(), NewmarkBeta::computeTimeDerivatives(), CrankNicolson::computeTimeDerivatives(), LStableDirk2::computeTimeDerivatives(), LStableDirk3::computeTimeDerivatives(), ImplicitMidpoint::computeTimeDerivatives(), ExplicitTVDRK2::computeTimeDerivatives(), AStableDirk4::computeTimeDerivatives(), LStableDirk4::computeTimeDerivatives(), ExplicitRK2::computeTimeDerivatives(), PenetrationAux::computeValue(), ConcentricCircleMesh::ConcentricCircleMesh(), ConditionalEnableControl::ConditionalEnableControl(), TimeStepper::constrainStep(), CoupledForce::CoupledForce(), CoupledForceNodalKernel::CoupledForceNodalKernel(), SidesetInfoVectorPostprocessor::dataHelper(), DebugResidualAux::DebugResidualAux(), FunctorRelationshipManager::delete_remote_elements(), BicubicSplineFunction::derivative(), DerivativeSumMaterial::DerivativeSumMaterial(), DGKernel::DGKernel(), FunctorRelationshipManager::dofmap_reinit(), FEProblemBase::duplicateVariableCheck(), EigenProblem::EigenProblem(), Eigenvalues::Eigenvalues(), ElementalVariableValue::ElementalVariableValue(), ElementIntegerAux::ElementIntegerAux(), ElementQualityAux::ElementQualityAux(), MooseMesh::errorIfDistributedMesh(), SolutionUserObject::evalMeshFunction(), SolutionUserObject::evalMeshFunctionGradient(), SolutionUserObject::evalMultiValuedMeshFunction(), SolutionUserObject::evalMultiValuedMeshFunctionGradient(), MultiAppPostprocessorTransfer::execute(), DiscreteElementUserObject::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), ElementQualityChecker::execute(), NodalValueSampler::execute(), GreaterThanLessThanPostprocessor::execute(), MultiAppInterpolationTransfer::execute(), MultiAppUserObjectTransfer::execute(), InterfaceQpValueUserObject::execute(), PointValue::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), FindValueOnLine::execute(), MultiAppNearestNodeTransfer::execute(), TimeExtremeValue::execute(), VectorPostprocessorComparison::execute(), LeastSquaresFit::execute(), LeastSquaresFitHistory::execute(), FEProblemBase::executeControls(), MultiAppVectorPostprocessorTransfer::executeFromMultiapp(), MultiAppVectorPostprocessorTransfer::executeToMultiapp(), Exodus::Exodus(), ExplicitSSPRungeKutta::ExplicitSSPRungeKutta(), FileOutput::FileOutput(), CentroidMultiApp::fillPositions(), MultiApp::fillPositions(), VerifyElementUniqueID::finalize(), VerifyNodalUniqueID::finalize(), DiscreteElementUserObject::finalize(), ElementQualityChecker::finalize(), MemoryUsage::finalize(), PointSamplerBase::finalize(), NearestPointIntegralVariablePostprocessor::finalize(), Transfer::find_sys(), BreakMeshByBlockBase::findFreeBoundaryId(), BreakMeshByBlockGeneratorBase::findFreeBoundaryId(), FunctionDT::FunctionDT(), FunctionMaterialBase::FunctionMaterialBase(), ParsedMaterialHelper::functionParse(), FunctionScalarAux::FunctionScalarAux(), FunctionScalarIC::FunctionScalarIC(), GapValueAux::GapValueAux(), WorkBalance::gather(), ExtraNodesetGenerator::generate(), RenameBoundaryGenerator::generate(), RenameBlockGenerator::generate(), ElementSubdomainIDGenerator::generate(), GeneratedMeshGenerator::generate(), CombinerGenerator::generate(), SideSetsFromBoundingBoxGenerator::generate(), MeshExtruderGenerator::generate(), StackGenerator::generate(), SpiralAnnularMeshGenerator::generate(), PatternedMeshGenerator::generate(), SubdomainBoundingBoxGenerator::generate(), BoundingBoxNodeSetGenerator::generate(), GeneratedMesh::GeneratedMesh(), GeneratedMeshGenerator::GeneratedMeshGenerator(), RandomICBase::generateRandom(), GenericConstantMaterial::GenericConstantMaterial(), GenericFunctionMaterial::GenericFunctionMaterial(), DisplacedProblem::getArrayVariable(), FEProblemBase::getArrayVariable(), MooseMesh::getBoundaryID(), MultiApp::getBoundingBox(), MooseMesh::getCoarseningMap(), Control::getControllableParameterByName(), FEProblemBase::getCoordSystem(), PiecewiseConstant::getDirection(), FEProblemBase::getDistribution(), GhostingUserObject::getElementalValue(), ElementGenerator::getElemType(), MultiApp::getExecutioner(), FEProblemBase::getFunction(), SolutionUserObject::getLocalVarIndex(), SubProblem::getMatrixTagID(), AnnularMesh::getMaxInDimension(), DistributedGeneratedMesh::getMaxInDimension(), GeneratedMesh::getMaxInDimension(), FEProblemBase::getMaxQps(), FEProblemBase::getMaxShapeFunctions(), AnnularMesh::getMinInDimension(), DistributedGeneratedMesh::getMinInDimension(), GeneratedMesh::getMinInDimension(), MooseMesh::getNodeBlockIds(), MooseMesh::getNodeList(), FEProblemBase::getNonlinearSystem(), MooseMesh::getPairedBoundaryMapping(), ImageMesh::GetPixelInfo(), ImageMeshGenerator::GetPixelInfo(), InterfaceQpValueUserObject::getQpValue(), MaterialStdVectorAux::getRealValue(), MooseMesh::getRefinementMap(), FEProblemBase::getSampler(), DisplacedProblem::getScalarVariable(), FEProblemBase::getScalarVariable(), DisplacedProblem::getStandardVariable(), FEProblemBase::getStandardVariable(), MooseMesh::getSubdomainBoundaryIds(), MooseMesh::getSubdomainID(), DisplacedProblem::getSystem(), FEProblemBase::getSystem(), FEProblemBase::getUserObjectBase(), FEProblemBase::getUserObjectTempl(), NumRelationshipManagers::getValue(), PerformanceData::getValue(), Residual::getValue(), PerfGraphData::getValue(), LineValueSampler::getValue(), FindValueOnLine::getValueAtPoint(), SubProblem::getVariableHelper(), SubProblem::getVectorTagID(), DisplacedProblem::getVectorVariable(), FEProblemBase::getVectorVariable(), GhostingAux::GhostingAux(), MultiApp::globalAppToLocal(), MooseParsedVectorFunction::gradient(), AdvancedOutput::hasOutputHelper(), CrankNicolson::init(), CSVTimeSequenceStepper::init(), EigenExecutionerBase::init(), IterationAdaptiveDT::init(), Transient::init(), MooseMesh::init(), Sampler::init(), FEProblemBase::init(), NumPicardIterations::initialize(), PiecewiseLinearBase::initialSetup(), ReferenceResidualProblem::initialSetup(), MultiAppConservativeTransfer::initialSetup(), FullSolveMultiApp::initialSetup(), SolutionScalarAux::initialSetup(), SolutionAux::initialSetup(), Axisymmetric2D3DSolutionFunction::initialSetup(), Exodus::initialSetup(), SolutionFunction::initialSetup(), SolutionUserObject::initialSetup(), FEProblemBase::initialSetup(), AdvancedOutput::initOutputList(), AdvancedOutput::initShowHideLists(), MaterialBase::initStatefulProperties(), Function::integral(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), InterfaceTimeKernel::InterfaceTimeKernel(), AugmentSparsityOnInterface::internalInit(), EigenExecutionerBase::inversePowerIteration(), InversePowerMethod::InversePowerMethod(), IterationAdaptiveDT::IterationAdaptiveDT(), LayeredSideIntegral::LayeredSideIntegral(), LeastSquaresFit::LeastSquaresFit(), LibmeshPartitioner::LibmeshPartitioner(), LinearCombinationFunction::LinearCombinationFunction(), LinearCombinationPostprocessor::LinearCombinationPostprocessor(), LinearNodalConstraint::LinearNodalConstraint(), LineMaterialSamplerBase< Real >::LineMaterialSamplerBase(), LineSearch::lineSearch(), LineValueSampler::LineValueSampler(), LowerBoundNodalKernel::LowerBoundNodalKernel(), PNGOutput::makePNG(), MaterialRealTensorValueAux::MaterialRealTensorValueAux(), MaterialRealVectorValueAux::MaterialRealVectorValueAux(), MaterialStdVectorRealGradientAux::MaterialStdVectorRealGradientAux(), MaterialVectorPostprocessor::MaterialVectorPostprocessor(), Distribution::median(), FunctorRelationshipManager::mesh_reinit(), SubProblem::meshChanged(), MeshExtruder::MeshExtruder(), MeshExtruderGenerator::MeshExtruderGenerator(), MeshSideSetGenerator::MeshSideSetGenerator(), SideSetsFromNormals::modify(), SideSetsFromPoints::modify(), AddExtraNodeset::modify(), MeshExtruder::modify(), BreakMeshByBlockBase::modify(), AssignElementSubdomainID::modify(), SmoothMesh::modify(), AddAllSideSetsByNormals::modify(), ElementDeleterBase::modify(), ParsedSubdomainMeshModifier::modify(), RenameBlock::modify(), ImageSubdomain::modify(), OrientedSubdomainBoundingBox::modify(), BoundingBoxNodeSet::modify(), SubdomainBoundingBox::modify(), AddSideSetsFromBoundingBox::modify(), MooseGhostPointNeighbors::MooseGhostPointNeighbors(), MooseMesh::MooseMesh(), MooseVariableBase::MooseVariableBase(), MortarConstraintBase::MortarConstraintBase(), MultiAppPostprocessorTransfer::MultiAppPostprocessorTransfer(), NearestNodeDistanceAux::NearestNodeDistanceAux(), NearestNodeValueAux::NearestNodeValueAux(), RenameBlockGenerator::newBlockID(), RenameBlock::newBlockID(), RenameBlockGenerator::newBlockName(), RenameBlock::newBlockName(), NewmarkBeta::NewmarkBeta(), NodalConstraint::NodalConstraint(), NodalScalarKernel::NodalScalarKernel(), NodalVariableValue::NodalVariableValue(), NumDOFs::NumDOFs(), NumNonlinearIterations::NumNonlinearIterations(), NumVars::NumVars(), FunctorRelationshipManager::operator()(), RelationshipManager::operator==(), XDA::output(), SolutionHistory::output(), Exodus::output(), AdvancedOutput::outputElementalVariables(), AdvancedOutput::outputInput(), AdvancedOutput::outputNodalVariables(), AdvancedOutput::outputPostprocessors(), AdvancedOutput::outputScalarVariables(), AdvancedOutput::outputSystemInformation(), Console::outputVectorPostprocessors(), AdvancedOutput::outputVectorPostprocessors(), MooseObject::paramError(), PiecewiseBilinear::parse(), ParsedAddSideset::ParsedAddSideset(), ParsedAux::ParsedAux(), ParsedGenerateSideset::ParsedGenerateSideset(), ParsedODEKernel::ParsedODEKernel(), ParsedSubdomainMeshGenerator::ParsedSubdomainMeshGenerator(), ParsedSubdomainMeshModifier::ParsedSubdomainMeshModifier(), ExplicitTimeIntegrator::performExplicitSolve(), PetscExternalPartitioner::PetscExternalPartitioner(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), PiecewiseBase::PiecewiseBase(), PiecewiseBilinear::PiecewiseBilinear(), PiecewiseLinearInterpolationMaterial::PiecewiseLinearInterpolationMaterial(), PiecewiseMulticonstant::PiecewiseMulticonstant(), PiecewiseMultiInterpolation::PiecewiseMultiInterpolation(), SolutionUserObject::pointValueGradientWrapper(), SolutionUserObject::pointValueWrapper(), LStableDirk2::postResidual(), LStableDirk3::postResidual(), ImplicitMidpoint::postResidual(), ExplicitTVDRK2::postResidual(), AStableDirk4::postResidual(), LStableDirk4::postResidual(), ExplicitRK2::postResidual(), Eigenvalue::postSolve(), Predictor::Predictor(), Transient::preExecute(), SolutionUserObject::readExodusII(), SolutionUserObject::readXda(), DerivativeParsedMaterialHelper::recurseDerivative(), FunctorRelationshipManager::redistribute(), ReferenceResidualProblem::ReferenceResidualProblem(), EqualValueEmbeddedConstraint::reinitConstraint(), RelativeSolutionDifferenceNorm::RelativeSolutionDifferenceNorm(), RenameBlock::RenameBlock(), RenameBlockGenerator::RenameBlockGenerator(), RenameBoundaryGenerator::RenameBoundaryGenerator(), RinglebMesh::RinglebMesh(), RinglebMeshGenerator::RinglebMeshGenerator(), ScalarComponentIC::ScalarComponentIC(), BicubicSplineFunction::secondDerivative(), FEProblemBase::setCoordSystem(), PiecewiseBase::setData(), EigenProblem::setEigenproblemType(), FEProblemSolve::setInnerSolve(), Sampler::setNumberOfCols(), Sampler::setNumberOfRandomSeeds(), Sampler::setNumberOfRows(), Exodus::setOutputDimensionInExodusWriter(), Split::setup(), TransientMultiApp::setupApp(), TimeSequenceStepperBase::setupSequence(), Transient::setupTimeIntegrator(), SideSetsFromBoundingBoxGenerator::SideSetsFromBoundingBoxGenerator(), SideSetsFromNormals::SideSetsFromNormals(), SideSetsFromNormalsGenerator::SideSetsFromNormalsGenerator(), SideSetsFromPoints::SideSetsFromPoints(), SideSetsFromPointsGenerator::SideSetsFromPointsGenerator(), SolutionTimeAdaptiveDT::SolutionTimeAdaptiveDT(), SolutionUserObject::SolutionUserObject(), PicardSolve::solve(), FullSolveMultiApp::solveStep(), SpatialAverageBase::SpatialAverageBase(), NearestPointIntegralVariablePostprocessor::spatialValue(), UserObject::spatialValue(), SpiralAnnularMesh::SpiralAnnularMesh(), SpiralAnnularMeshGenerator::SpiralAnnularMeshGenerator(), StitchedMesh::StitchedMesh(), NodalUserObject::subdomainSetup(), GeneralUserObject::subdomainSetup(), Constraint::subdomainSetup(), MaterialBase::subdomainSetup(), Console::systemInfoFlags(), TagMatrixAux::TagMatrixAux(), TagVectorAux::TagVectorAux(), Terminator::Terminator(), TestSetupPostprocessorDataActionFunction::TestSetupPostprocessorDataActionFunction(), ThreadedGeneralUserObject::ThreadedGeneralUserObject(), ThreadedGeneralUserObject::threadJoin(), DiscreteElementUserObject::threadJoin(), GeneralUserObject::threadJoin(), TiledMeshGenerator::TiledMeshGenerator(), Function::timeDerivative(), TimeExtremeValue::TimeExtremeValue(), TimePeriod::TimePeriod(), VectorPostprocessorVisualizationAux::timestepSetup(), MultiAppFieldTransfer::transfer(), MultiAppMeshFunctionTransfer::transferVariable(), MooseVariableScalar::uDot(), MooseVariableScalar::uDotDot(), MooseVariableScalar::uDotDotOld(), FEProblemBase::uDotDotOldRequested(), MooseVariableScalar::uDotOld(), FEProblemBase::uDotOldRequested(), EqualValueBoundaryConstraint::updateConstrainedNodes(), SolutionUserObject::updateExodusBracketingTimeIndices(), UpperBoundNodalKernel::UpperBoundNodalKernel(), NearestPointIntegralVariablePostprocessor::userObjectValue(), BoundingBoxIC::value(), Axisymmetric2D3DSolutionFunction::value(), ValueRangeMarker::ValueRangeMarker(), ValueThresholdMarker::ValueThresholdMarker(), MultiAppTransfer::variableIntegrityCheck(), VariableTimeIntegrationAux::VariableTimeIntegrationAux(), VectorNodalBC::VectorNodalBC(), VectorOfPostprocessors::VectorOfPostprocessors(), VectorPostprocessorFunction::VectorPostprocessorFunction(), MooseParsedGradFunction::vectorValue(), MooseParsedFunction::vectorValue(), VolumeHistogram::VolumeHistogram(), VTKOutput::VTKOutput(), DOFMapOutput::writeStreamToFile(), and Console::writeStreamToFile().

◆ mooseInfo()

template<typename... Args>
void MooseObject::mooseInfo ( Args &&...  args) const
inlineinherited

◆ mooseWarning()

template<typename... Args>
void MooseObject::mooseWarning ( Args &&...  args) const
inlineinherited

◆ name()

virtual const std::string& MooseObject::name ( ) const
inlinevirtualinherited

Get the name of the object.

Returns
The name of the object TODO:MooseVariableToMooseObject (see #10601)

Reimplemented in MooseVariableBase.

Definition at line 70 of file MooseObject.h.

70 { return _name; }

Referenced by GridPartitioner::_do_partition(), FEProblemBase::addADJacobianInterfaceMaterial(), FEProblemBase::addADJacobianMaterial(), FEProblemBase::addADKernel(), FEProblemBase::addADResidualInterfaceMaterial(), FEProblemBase::addADResidualMaterial(), Executioner::addAttributeReporter(), DumpObjectsProblem::addAuxKernel(), FEProblemBase::addAuxKernel(), DumpObjectsProblem::addAuxScalarKernel(), FEProblemBase::addAuxScalarKernel(), DisplacedProblem::addAuxVariable(), DumpObjectsProblem::addBoundaryCondition(), FEProblemBase::addBoundaryCondition(), DumpObjectsProblem::addConstraint(), FEProblemBase::addConstraint(), FEProblemBase::addDamper(), DumpObjectsProblem::addDGKernel(), FEProblemBase::addDGKernel(), DumpObjectsProblem::addDiracKernel(), FEProblemBase::addDiracKernel(), FEProblemBase::addDistribution(), DumpObjectsProblem::addFunction(), FEProblemBase::addFunction(), ADDGKernel< compute_stage >::ADDGKernel(), FEProblemBase::addIndicator(), DumpObjectsProblem::addInitialCondition(), FEProblemBase::addInitialCondition(), DumpObjectsProblem::addInterfaceKernel(), FEProblemBase::addInterfaceKernel(), FEProblemBase::addInterfaceMaterial(), DumpObjectsProblem::addKernel(), FEProblemBase::addKernel(), FEProblemBase::addMarker(), DumpObjectsProblem::addMaterial(), FEProblemBase::addMaterial(), FEProblemBase::addMaterialHelper(), FEProblemBase::addMultiApp(), DumpObjectsProblem::addNodalKernel(), FEProblemBase::addNodalKernel(), FEProblemBase::addPostprocessor(), FEProblemBase::addPredictor(), CreateDisplacedProblemAction::addProxyRelationshipManagers(), FEProblemBase::addSampler(), DumpObjectsProblem::addScalarKernel(), FEProblemBase::addScalarKernel(), FEProblemBase::addTimeIntegrator(), FEProblemBase::addTransfer(), FEProblemBase::addUserObject(), DisplacedProblem::addVariable(), FEProblemBase::addVectorPostprocessor(), ADKernelTempl< T, compute_stage >::ADKernelTempl(), Output::advancedExecuteOn(), MultiApp::appPostprocessorValue(), MultiApp::appProblem(), MultiApp::appProblemBase(), MultiApp::appUserObjectBase(), ArrayDGKernel::ArrayDGKernel(), DerivativeParsedMaterialHelper::assembleDerivatives(), AStableDirk4::AStableDirk4(), Function::average(), MultiApp::backup(), BreakMeshByBlockGenerator::BreakMeshByBlockGenerator(), ChangeOverTimePostprocessor::ChangeOverTimePostprocessor(), FEProblemBase::checkDependMaterialsHelper(), Damper::checkMinDamping(), MaterialBase::checkStatefulSanity(), CoarsenedPiecewiseLinear::CoarsenedPiecewiseLinear(), CompositeFunction::CompositeFunction(), MaterialBase::computeProperties(), MaterialBase::computeSubdomainProperties(), FEProblemBase::computeUserObjectByName(), VectorPostprocessorVisualizationAux::computeValue(), MultiApp::createApp(), MeshGenerator::declareMeshProperty(), FEProblemBase::declareVectorPostprocessorVector(), DOFMapOutput::demangle(), DerivativeSumMaterial::DerivativeSumMaterial(), DGKernel::DGKernel(), DGKernelBase::DGKernelBase(), DumpObjectsProblem::dumpObjectHelper(), ElementValueSampler::ElementValueSampler(), MooseMesh::errorIfDistributedMesh(), AB2PredictorCorrector::estimateTimeError(), SolutionUserObject::evalMeshFunction(), SolutionUserObject::evalMeshFunctionGradient(), SolutionUserObject::evalMultiValuedMeshFunction(), SolutionUserObject::evalMultiValuedMeshFunctionGradient(), MultiAppPostprocessorTransfer::execute(), StatisticsVectorPostprocessor::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), MultiAppVectorPostprocessorTransfer::execute(), MultiAppCopyTransfer::execute(), MultiAppMeshFunctionTransfer::execute(), MultiAppInterpolationTransfer::execute(), MultiAppUserObjectTransfer::execute(), PointValue::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), MultiAppNearestNodeTransfer::execute(), HistogramVectorPostprocessor::execute(), MultiAppProjectionTransfer::execute(), Exodus::Exodus(), FancyExtruderGenerator::FancyExtruderGenerator(), MultiApp::fillPositions(), PointSamplerBase::finalize(), FunctionDT::FunctionDT(), FunctionPresetBC::FunctionPresetBC(), GeneralUserObject::GeneralUserObject(), LowerDBlockFromSidesetGenerator::generate(), GeneratedMeshGenerator::generate(), StitchedMeshGenerator::generate(), Material::getADMaterialPropertyTempl(), MultiApp::getBoundingBox(), MooseObject::getCheckedPointerParam(), Control::getControllableParameterByName(), Control::getControllableValue(), Control::getControllableValueByName(), DistributionInterface::getDistribution(), FEProblemBase::getDistribution(), DistributionInterface::getDistributionByName(), MultiApp::getExecutioner(), OutputWarehouse::getFileNumbers(), FEProblemBase::getFunction(), FEProblemBase::getInterfaceMaterial(), SolutionUserObject::getLocalVarIndex(), Marker::getMarkerValue(), FEProblemBase::getMaterial(), SubProblem::getMaterialPropertyBlockNames(), SubProblem::getMaterialPropertyBoundaryNames(), Material::getMaterialPropertyOlderTempl(), InterfaceMaterial::getMaterialPropertyOlderTempl(), NodalPatchRecovery::getMaterialPropertyOlderTempl(), AuxKernelTempl< ComputeValueType >::getMaterialPropertyOlderTempl(), Material::getMaterialPropertyOldTempl(), InterfaceMaterial::getMaterialPropertyOldTempl(), NodalPatchRecovery::getMaterialPropertyOldTempl(), AuxKernelTempl< ComputeValueType >::getMaterialPropertyOldTempl(), Material::getMaterialPropertyTempl(), InterfaceMaterial::getMaterialPropertyTempl(), NodalPatchRecovery::getMaterialPropertyTempl(), AuxKernelTempl< ComputeValueType >::getMaterialPropertyTempl(), MeshGenerator::getMesh(), InterfaceMaterial::getNeighborMaterialPropertyOld(), InterfaceMaterial::getNeighborMaterialPropertyOlder(), InterfaceMaterial::getNeighborMaterialPropertyTempl(), OutputWarehouse::getOutput(), MooseObject::getParamTempl(), GeneralUserObject::getPostprocessorValue(), FEProblemBase::getPostprocessorValue(), GeneralUserObject::getPostprocessorValueByName(), FEProblemBase::getPostprocessorValueOld(), FEProblemBase::getPostprocessorValueOlder(), FEProblemBase::getSampler(), FEProblemBase::getScatterVectorPostprocessorValue(), FEProblemBase::getScatterVectorPostprocessorValueOld(), Transient::getTimeStepperName(), InitialConditionBase::getUserObjectBase(), FEProblemBase::getUserObjectBase(), InitialConditionBase::getUserObjectByNameTempl(), InitialConditionBase::getUserObjectTempl(), FEProblemBase::getUserObjectTempl(), GeneralUserObject::getVectorPostprocessorValue(), FEProblemBase::getVectorPostprocessorValue(), GeneralUserObject::getVectorPostprocessorValueByName(), FEProblemBase::getVectorPostprocessorValueOld(), FEProblemBase::hasFunction(), AdvancedOutput::hasOutputHelper(), FEProblemBase::hasPostprocessor(), FEProblemBase::hasUserObject(), FEProblemBase::hasVectorPostprocessor(), FEProblemBase::init(), AdvancedOutput::initExecutionTypes(), AttribName::initFrom(), CSVReader::initialize(), StatisticsVectorPostprocessor::initialize(), HistogramVectorPostprocessor::initialize(), SolutionScalarAux::initialSetup(), MultiAppProjectionTransfer::initialSetup(), DerivativeFunctionMaterialBase::initialSetup(), MultiApp::initialSetup(), SolutionUserObject::initialSetup(), AdvancedOutput::initOutputList(), FEProblemBase::initPostprocessorData(), AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(), MaterialBase::initStatefulProperties(), FEProblemBase::initVectorPostprocessorData(), Function::integral(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), Registry::isADObj(), MooseObject::isParamValid(), Registry::isRegisteredObj(), LinearCombinationFunction::LinearCombinationFunction(), Marker::Marker(), MatDiffusionBase< Real >::MatDiffusionBase(), MaterialDerivativeTestKernelBase< Real >::MaterialDerivativeTestKernelBase(), MaterialOutputAction::materialOutputHelper(), MaterialVectorPostprocessor::MaterialVectorPostprocessor(), Distribution::median(), MemoryUsageReporter::MemoryUsageReporter(), MeshSideSetGenerator::MeshSideSetGenerator(), ElementDeleterBase::modify(), MooseVariableInterface< Real >::MooseVariableInterface(), NodalValueSampler::NodalValueSampler(), NodalVariableValue::NodalVariableValue(), Registry::objData(), DOFMapOutput::output(), Output::Output(), AdvancedOutput::outputElementalVariables(), ConsoleUtils::outputExecutionInformation(), AdvancedOutput::outputInput(), AdvancedOutput::outputNodalVariables(), ConsoleUtils::outputOutputInformation(), Nemesis::outputPostprocessors(), Exodus::outputPostprocessors(), AdvancedOutput::outputPostprocessors(), AdvancedOutput::outputScalarVariables(), OversampleOutput::outputStep(), Output::outputStep(), AdvancedOutput::outputSystemInformation(), AdvancedOutput::outputVectorPostprocessors(), ParsedAddSideset::ParsedAddSideset(), ParsedAux::ParsedAux(), ParsedGenerateSideset::ParsedGenerateSideset(), ParsedODEKernel::ParsedODEKernel(), ParsedSubdomainMeshGenerator::ParsedSubdomainMeshGenerator(), ParsedSubdomainMeshModifier::ParsedSubdomainMeshModifier(), PointSamplerBase::PointSamplerBase(), MultiAppConservativeTransfer::postExecute(), PresetBC::PresetBC(), PresetNodalBC::PresetNodalBC(), Registry::registerObjectsTo(), FEProblemBase::registerRandomInterface(), MaterialBase::resetQpProperties(), MultiApp::restore(), ScalarComponentIC::ScalarComponentIC(), MooseMesh::setBoundaryName(), Control::setControllableValue(), Control::setControllableValueByName(), OutputWarehouse::setFileNumbers(), MooseMesh::setSubdomainName(), Split::setup(), TransientMultiApp::setupApp(), SideSetsFromNormalsGenerator::SideSetsFromNormalsGenerator(), SideSetsFromPointsGenerator::SideSetsFromPointsGenerator(), SideValueSampler::SideValueSampler(), TransientMultiApp::solveStep(), SpatialAverageBase::SpatialAverageBase(), UserObject::spatialValue(), StitchedMesh::StitchedMesh(), SubProblem::storeBoundaryDelayedCheckMatProp(), SubProblem::storeBoundaryMatPropName(), SubProblem::storeBoundaryZeroMatProp(), SubProblem::storeSubdomainDelayedCheckMatProp(), SubProblem::storeSubdomainMatPropName(), SubProblem::storeSubdomainZeroMatProp(), MaterialBase::subdomainSetup(), TaggingInterface::TaggingInterface(), ThreadedGeneralUserObject::ThreadedGeneralUserObject(), Function::timeDerivative(), VectorPostprocessorVisualizationAux::timestepSetup(), TransientMultiApp::TransientMultiApp(), MultiAppTransfer::variableIntegrityCheck(), and AdvancedOutput::wantOutput().

◆ onInterval()

bool Output::onInterval ( )
protectedvirtualinherited

Returns true if the output interval is satisfied.

Definition at line 203 of file Output.C.

204 {
205  // The output flag to return
206  bool output = false;
207 
208  // Return true if the current step on the current output interval and within the output time range
209  // and within the output step range
210  if (_time >= _start_time && _time <= _end_time && _t_step >= _start_step &&
211  _t_step <= _end_step && (_t_step % _interval) == 0)
212  output = true;
213 
214  // Return false if 'sync_only' is set to true
215  if (_sync_only)
216  output = false;
217 
218  // If sync times are not skipped, return true if the current time is a sync_time
219  if (_sync_times.find(_time) != _sync_times.end())
220  output = true;
221 
222  // Return the output status
223  return output;
224 }

Referenced by Console::output(), OversampleOutput::outputStep(), and Output::outputStep().

◆ output()

void Tecplot::output ( const ExecFlagType type)
overrideprotectedvirtual

Overload the Output::output method, this is required for Tecplot output due to the method utilized for outputting single/global parameters.

Reimplemented from AdvancedOutput.

Definition at line 66 of file Tecplot.C.

67 {
68  TecplotIO out(*_mesh_ptr, _binary, time() + _app.getGlobalTimeOffset());
69 
70  // Only set the append flag on the TecplotIO object if the user has
71  // asked for it, and this is not the first time we called output().
72  if (_ascii_append && !_first_time)
73  out.ascii_append() = true;
74 
75  out.write_equation_systems(filename(), *_es_ptr);
76 
77  // If we're not appending, increment the file number. If we are appending,
78  // we'll use the same filename each time.
79  if (_binary || !_ascii_append)
80  _file_num++;
81 
82  // If this was the first time we called output(), the next time will not be
83  // the first time.
84  if (_first_time)
85  _first_time = false;
86 }

Referenced by filename().

◆ outputElementalVariables()

void AdvancedOutput::outputElementalVariables ( )
protectedvirtualinherited

Performs output of elemental nonlinear variables The child class must define this method to output the nonlinear variables as desired.

See also
Exodus::outputElementalVariables

Reimplemented in Exodus.

Definition at line 193 of file AdvancedOutput.C.

194 {
195  mooseError(
196  "Individual output of elemental variables is not support for this output object named '",
197  name(),
198  "'");
199 }

Referenced by AdvancedOutput::output().

◆ outputInput()

void AdvancedOutput::outputInput ( )
protectedvirtualinherited

Performs the output of the input file By default this method does nothing and is not called, the individual Output objects are responsible for calling it.

Reimplemented in Exodus, and Console.

Definition at line 233 of file AdvancedOutput.C.

234 {
235  mooseError("Output of the input file information is not support for this output object named '",
236  name(),
237  "'");
238 }

Referenced by AdvancedOutput::output().

◆ outputNodalVariables()

void AdvancedOutput::outputNodalVariables ( )
protectedvirtualinherited

Performs output of nodal nonlinear variables The child class must define this method to output the nonlinear variables as desired.

See also
Exodus::outputNodalVariables

Reimplemented in Exodus.

Definition at line 185 of file AdvancedOutput.C.

186 {
187  mooseError("Individual output of nodal variables is not support for the output object named '",
188  name(),
189  "'");
190 }

Referenced by AdvancedOutput::output().

◆ outputPostprocessors()

void AdvancedOutput::outputPostprocessors ( )
protectedvirtualinherited

Performs output of postprocessors The child class must define this method to output the postprocessors as desired.

See also
Exodus::outputPostprocessors

Reimplemented in Exodus, Console, CSV, Nemesis, and TableOutput.

Definition at line 202 of file AdvancedOutput.C.

203 {
204  mooseError("Individual output of postprocessors is not support for this output object named '",
205  name(),
206  "'");
207 }

Referenced by AdvancedOutput::output().

◆ outputScalarVariables()

void AdvancedOutput::outputScalarVariables ( )
protectedvirtualinherited

Performs output of scalar variables The child class must define this method to output the scalar variables as desired.

See also
Exodus::outputScalarVariables

Reimplemented in Exodus, Console, Nemesis, CSV, and TableOutput.

Definition at line 219 of file AdvancedOutput.C.

220 {
221  mooseError(
222  "Individual output of scalars is not support for this output object named '", name(), "'");
223 }

Referenced by AdvancedOutput::output().

◆ outputStep()

void OversampleOutput::outputStep ( const ExecFlagType type)
overridevirtualinherited

A single call to this function should output all the necessary data for a single timestep.

Parameters
typeThe type execution flag (see Moose.h)
See also
outputNodalVariables outputElementalVariables outputScalarVariables outputPostprocessors

Reimplemented from Output.

Definition at line 82 of file OversampleOutput.C.

83 {
84  CONSOLE_TIMED_PRINT("Outputting ", name());
85 
86  // Output is not allowed
87  if (!_allow_output && type != EXEC_FORCED)
88  return;
89 
90  // If recovering disable output of initial condition, it was already output
91  if (type == EXEC_INITIAL && _app.isRecovering())
92  return;
93 
94  // Return if the current output is not on the desired interval
95  if (type != EXEC_FINAL && !onInterval())
96  return;
97 
98  // Call the output method (this has the file checking built in b/c OversampleOutput is a
99  // FileOutput)
100  if (shouldOutput(type))
101  {
102  TIME_SECTION(_output_step_timer);
104  output(type);
105  }
106 }

◆ outputSystemInformation()

void AdvancedOutput::outputSystemInformation ( )
protectedvirtualinherited

Reimplemented in Console.

Definition at line 226 of file AdvancedOutput.C.

227 {
228  mooseError(
229  "Output of system information is not support for this output object named '", name(), "'");
230 }

Referenced by AdvancedOutput::output().

◆ outputVectorPostprocessors()

void AdvancedOutput::outputVectorPostprocessors ( )
protectedvirtualinherited

Performs output of VectorPostprocessors The child class must define this method to output the VectorPostprocessors as desired.

Reimplemented in Console, CSV, and TableOutput.

Definition at line 210 of file AdvancedOutput.C.

211 {
212  mooseError(
213  "Individual output of VectorPostprocessors is not support for this output object named '",
214  name(),
215  "'");
216 }

Referenced by AdvancedOutput::output().

◆ paramError()

template<typename... Args>
void MooseObject::paramError ( const std::string &  param,
Args...  args 
) const
inherited

Emits an error prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message.

If this object's parameters were not created directly by the Parser, then this function falls back to the normal behavior of mooseError - only printing a message using the given args.

Definition at line 215 of file MooseObject.h.

216 {
217  Moose::show_trace = false;
218  mooseError(paramErrorMsg(param, std::forward<Args>(args)...));
219  Moose::show_trace = true;
220 }

Referenced by ADDGKernel< compute_stage >::ADDGKernel(), ADIntegratedBCTempl< T, compute_stage >::ADIntegratedBCTempl(), ADKernelTempl< T, compute_stage >::ADKernelTempl(), ADVectorFunctionDirichletBC< compute_stage >::ADVectorFunctionDirichletBC(), AnnularMesh::AnnularMesh(), AnnularMeshGenerator::AnnularMeshGenerator(), ArrayDGKernel::ArrayDGKernel(), ArrayIntegratedBC::ArrayIntegratedBC(), ArrayKernel::ArrayKernel(), BlockWeightedPartitioner::BlockWeightedPartitioner(), checkComponent(), Coupleable::checkVar(), MultiAppTransfer::checkVariable(), CombinerGenerator::CombinerGenerator(), ConcentricCircleMeshGenerator::ConcentricCircleMeshGenerator(), ConstantVectorPostprocessor::ConstantVectorPostprocessor(), Coupleable::Coupleable(), DGKernel::DGKernel(), DGKernelBase::DGKernelBase(), Eigenvalue::Eigenvalue(), ElementValueSampler::ElementValueSampler(), Executioner::Executioner(), FancyExtruderGenerator::FancyExtruderGenerator(), RenameBoundaryGenerator::generate(), MeshCollectionGenerator::generate(), StackGenerator::generate(), StitchedMeshGenerator::generate(), CombinerGenerator::generate(), Sampler::getGlobalSamples(), Sampler::getLocalSamples(), Sampler::getNextLocalRow(), MultiApp::init(), BlockRestrictable::initializeBlockRestrictable(), BoundaryRestrictable::initializeBoundaryRestrictable(), IntegratedBC::IntegratedBC(), InversePowerMethod::InversePowerMethod(), Kernel::Kernel(), PNGOutput::makeMeshFunc(), MeshCollectionGenerator::MeshCollectionGenerator(), MultiAppConservativeTransfer::MultiAppConservativeTransfer(), MultiAppInterpolationTransfer::MultiAppInterpolationTransfer(), MultiAppMeshFunctionTransfer::MultiAppMeshFunctionTransfer(), MultiAppNearestNodeTransfer::MultiAppNearestNodeTransfer(), MultiAppPostprocessorInterpolationTransfer::MultiAppPostprocessorInterpolationTransfer(), MultiAppPostprocessorToAuxScalarTransfer::MultiAppPostprocessorToAuxScalarTransfer(), MultiAppPostprocessorTransfer::MultiAppPostprocessorTransfer(), MultiAppProjectionTransfer::MultiAppProjectionTransfer(), MultiAppScalarToAuxScalarTransfer::MultiAppScalarToAuxScalarTransfer(), MultiAppTransfer::MultiAppTransfer(), MultiAppUserObjectTransfer::MultiAppUserObjectTransfer(), MultiAppVariableValueSamplePostprocessorTransfer::MultiAppVariableValueSamplePostprocessorTransfer(), MultiAppVariableValueSampleTransfer::MultiAppVariableValueSampleTransfer(), MultiAppVectorPostprocessorTransfer::MultiAppVectorPostprocessorTransfer(), NodalBC::NodalBC(), NodalEqualValueConstraint::NodalEqualValueConstraint(), NodalKernel::NodalKernel(), NodalValueSampler::NodalValueSampler(), PatchMeshGenerator::PatchMeshGenerator(), PatternedMeshGenerator::PatternedMeshGenerator(), PiecewiseFunctionTabulate::PiecewiseFunctionTabulate(), PlaneDeletionGenerator::PlaneDeletionGenerator(), RandomIC::RandomIC(), MooseMesh::setPartitioner(), MultiAppFieldTransfer::transfer(), Transfer::Transfer(), TransientMultiApp::TransientMultiApp(), VectorBodyForce::VectorBodyForce(), VectorFunctionDirichletBC::VectorFunctionDirichletBC(), and VectorFunctionIC::VectorFunctionIC().

◆ paramErrorMsg()

template<typename... Args>
std::string MooseObject::paramErrorMsg ( const std::string &  param,
Args...  args 
) const
inlineprivateinherited

Definition at line 185 of file MooseObject.h.

186  {
187  auto prefix = paramErrorPrefix(_pars, param);
188  std::ostringstream oss;
189  moose::internal::mooseStreamAll(oss, std::forward<Args>(args)...);
190  std::string msg = oss.str();
191 
192  // Wrap error message to a separate line from prefix if it is about to
193  // blow past 100 chars. But only wrap if the prefix is long enough (12
194  // chars) for the wrap to buy us much extra length.
195  if ((prefix.size() > 12 && msg.size() + prefix.size() > 99) ||
196  msg.find("\n") != std::string::npos)
197  {
198  if (prefix.size() > 0 && prefix[prefix.size() - 1] != ':')
199  prefix += ":";
200  return prefix + "\n " + MooseUtils::replaceAll(msg, "\n", "\n ");
201  }
202  return prefix + " " + msg;
203  }

Referenced by MooseObject::paramError(), MooseObject::paramInfo(), and MooseObject::paramWarning().

◆ parameters()

const InputParameters& MooseObject::parameters ( ) const
inlineinherited

Get the parameters of the object.

Returns
The parameters of the object

Definition at line 76 of file MooseObject.h.

76 { return _pars; }

Referenced by FEProblemBase::addADJacobianInterfaceMaterial(), FEProblemBase::addADJacobianMaterial(), FEProblemBase::addADKernel(), FEProblemBase::addADResidualInterfaceMaterial(), FEProblemBase::addADResidualMaterial(), DumpObjectsProblem::addAuxKernel(), FEProblemBase::addAuxKernel(), DumpObjectsProblem::addAuxScalarKernel(), FEProblemBase::addAuxScalarKernel(), DisplacedProblem::addAuxVariable(), DumpObjectsProblem::addBoundaryCondition(), FEProblemBase::addBoundaryCondition(), DumpObjectsProblem::addConstraint(), FEProblemBase::addConstraint(), FEProblemBase::addDamper(), DumpObjectsProblem::addDGKernel(), FEProblemBase::addDGKernel(), DumpObjectsProblem::addDiracKernel(), FEProblemBase::addDiracKernel(), FEProblemBase::addDistribution(), DumpObjectsProblem::addFunction(), FEProblemBase::addFunction(), FEProblemBase::addIndicator(), DumpObjectsProblem::addInitialCondition(), FEProblemBase::addInitialCondition(), DumpObjectsProblem::addInterfaceKernel(), FEProblemBase::addInterfaceKernel(), FEProblemBase::addInterfaceMaterial(), DumpObjectsProblem::addKernel(), FEProblemBase::addKernel(), FEProblem::addLineSearch(), FEProblemBase::addMarker(), DumpObjectsProblem::addMaterial(), FEProblemBase::addMaterial(), FEProblemBase::addMaterialHelper(), FEProblemBase::addMultiApp(), DumpObjectsProblem::addNodalKernel(), FEProblemBase::addNodalKernel(), FEProblemBase::addOutput(), FEProblemBase::addPostprocessor(), FEProblemBase::addPredictor(), FEProblemBase::addSampler(), DumpObjectsProblem::addScalarKernel(), FEProblemBase::addScalarKernel(), FEProblemBase::addTimeIntegrator(), FEProblemBase::addTransfer(), FEProblemBase::addUserObject(), DisplacedProblem::addVariable(), FEProblemBase::addVectorPostprocessor(), ADPiecewiseLinearInterpolationMaterial< compute_stage >::ADPiecewiseLinearInterpolationMaterial(), AdvancedOutput::AdvancedOutput(), ADVectorFunctionDirichletBC< compute_stage >::ADVectorFunctionDirichletBC(), AnnularMesh::AnnularMesh(), AnnularMeshGenerator::AnnularMeshGenerator(), assemble_l2(), Moose::assemble_matrix(), AuxKernelTempl< ComputeValueType >::AuxKernelTempl(), AuxScalarKernel::AuxScalarKernel(), BoundsAux::BoundsAux(), LibmeshPartitioner::clone(), OversampleOutput::cloneMesh(), Moose::compute_bounds(), Moose::compute_jacobian(), Moose::compute_nearnullspace(), Moose::compute_nullspace(), Moose::compute_postcheck(), Moose::compute_transpose_nullspace(), Console::Console(), DumpObjectsProblem::deduceNecessaryParameters(), DumpObjectsProblem::dumpObjectHelper(), EigenProblem::EigenProblem(), Eigenvalue::Eigenvalue(), Exodus::Exodus(), FEProblem::FEProblem(), GapValueAux::GapValueAux(), MooseObject::getCheckedPointerParam(), GhostingUserObject::GhostingUserObject(), MooseMesh::init(), BlockRestrictable::initializeBlockRestrictable(), FEProblemBase::initNullSpaceVectors(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), isValid(), LayeredSideIntegral::LayeredSideIntegral(), MooseVariableInterface< Real >::MooseVariableInterface(), NodeFaceConstraint::NodeFaceConstraint(), PatchMeshGenerator::PatchMeshGenerator(), PenetrationAux::PenetrationAux(), PiecewiseBilinear::PiecewiseBilinear(), PiecewiseLinearInterpolationMaterial::PiecewiseLinearInterpolationMaterial(), MultiAppProjectionTransfer::projectSolution(), RandomIC::RandomIC(), InputParameterWarehouse::removeInputParameters(), EigenProblem::scaleEigenvector(), FEProblem::setInputParametersFEProblem(), FEProblemBase::setInputParametersFEProblem(), DumpObjectsProblem::stringifyParameters(), Transient::Transient(), VectorBodyForce::VectorBodyForce(), VectorFunctionDirichletBC::VectorFunctionDirichletBC(), and VectorFunctionIC::VectorFunctionIC().

◆ paramInfo()

template<typename... Args>
void MooseObject::paramInfo ( const std::string &  param,
Args...  args 
) const
inherited

Emits an informational message prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message.

If this object's parameters were not created directly by the Parser, then this function falls back to the normal behavior of mooseInfo - only printing a message using the given args.

Definition at line 231 of file MooseObject.h.

232 {
233  mooseInfo(paramErrorMsg(param, std::forward<Args>(args)...));
234 }

Referenced by TransientMultiApp::TransientMultiApp().

◆ paramWarning()

template<typename... Args>
void MooseObject::paramWarning ( const std::string &  param,
Args...  args 
) const
inherited

Emits a warning prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message.

If this object's parameters were not created directly by the Parser, then this function falls back to the normal behavior of mooseWarning - only printing a message using the given args.

Definition at line 224 of file MooseObject.h.

225 {
226  mooseWarning(paramErrorMsg(param, std::forward<Args>(args)...));
227 }

Referenced by Executioner::Executioner().

◆ petscLinearOutput()

PetscErrorCode PetscOutput::petscLinearOutput ( KSP  ,
PetscInt  its,
PetscReal  fnorm,
void *  void_ptr 
)
staticprivateinherited

Performs the output onlinear iterations.

This is the monitor method that PETSc will call on linear iterations

This is one of three locations where we explicitly flush the output buffers during a simulation: PetscOutput::petscNonlinearOutput() PetscOutput::petscLinearOutput() OutputWarehouse::outputStep()

All other Console output should be using newlines to avoid covering buffer errors and to avoid excessive I/O. This call is necessary. In the PETSc callback the context bypasses the OutputWarehouse.

Definition at line 214 of file PetscOutput.C.

215 {
216  // Get the Outputter object
217  PetscOutput * ptr = static_cast<PetscOutput *>(void_ptr);
218 
219  // Update the pseudo time
220  ptr->_linear_time += ptr->_linear_dt;
221 
222  // Set the current norm and iteration number
223  ptr->_norm = norm;
224  ptr->_linear_iter = its;
225 
226  // Set the flag indicating that output is occurring on the non-linear residual
227  ptr->_on_linear_residual = true;
228 
229  // Perform the output
230  ptr->outputStep(EXEC_LINEAR);
231 
244 
245  // Reset the linear output flag and the simulation time
246  ptr->_on_linear_residual = false;
247 
248  // Done
249  return 0;
250 }

Referenced by PetscOutput::solveSetup().

◆ petscNonlinearOutput()

PetscErrorCode PetscOutput::petscNonlinearOutput ( SNES  ,
PetscInt  its,
PetscReal  fnorm,
void *  void_ptr 
)
staticprivateinherited

Performs the output on non-linear iterations.

This is the monitor method that PETSc will call on non-linear iterations

This is one of three locations where we explicitly flush the output buffers during a simulation: PetscOutput::petscNonlinearOutput() PetscOutput::petscLinearOutput() OutputWarehouse::outputStep()

All other Console output should be using newlines to avoid covering buffer errors and to avoid excessive I/O. This call is necessary. In the PETSc callback the context bypasses the OutputWarehouse.

Definition at line 174 of file PetscOutput.C.

175 {
176  // Get the outputter object
177  PetscOutput * ptr = static_cast<PetscOutput *>(void_ptr);
178 
179  // Update the pseudo times
180  ptr->_nonlinear_time += ptr->_nonlinear_dt;
181  ptr->_linear_time = ptr->_nonlinear_time;
182 
183  // Set the current norm and iteration number
184  ptr->_norm = norm;
185  ptr->_nonlinear_iter = its;
186 
187  // Set the flag indicating that output is occurring on the non-linear residual
188  ptr->_on_nonlinear_residual = true;
189 
190  // Perform the output
192 
205 
206  // Reset the non-linear output flag and the simulation time
207  ptr->_on_nonlinear_residual = false;
208 
209  // Done
210  return 0;
211 }

Referenced by PetscOutput::solveSetup().

◆ registerRestartableDataOnApp()

RestartableDataValue & Restartable::registerRestartableDataOnApp ( const std::string &  name,
std::unique_ptr< RestartableDataValue data,
THREAD_ID  tid 
)
privateinherited

Helper function for actually registering the restartable data.

Definition at line 48 of file Restartable.C.

51 {
52  return _restartable_app.registerRestartableData(name, std::move(data), tid, false, false);
53 }

Referenced by Restartable::declareRestartableDataWithContext().

◆ registerRestartableNameWithFilterOnApp()

void Restartable::registerRestartableNameWithFilterOnApp ( const std::string &  name,
Moose::RESTARTABLE_FILTER  filter 
)
privateinherited

Helper function for actually registering the restartable data.

Definition at line 56 of file Restartable.C.

58 {
60 }

Referenced by Restartable::declareRecoverableData().

◆ registerTimedSection()

PerfID PerfGraphInterface::registerTimedSection ( const std::string &  section_name,
const unsigned int  level 
)
protectedinherited

Call to register a named section for timing.

Parameters
section_nameThe name of the code section to be timed
levelThe importance of the timer - lower is more important (0 will always come out)
Returns
The ID of the section - use when starting timing

Definition at line 51 of file PerfGraphInterface.C.

52 {
53  if (_prefix != "")
54  return _perf_graph.registerSection(_prefix + "::" + section_name, level);
55  else
56  return _perf_graph.registerSection(section_name, level);
57 }

◆ residualSetup()

void SetupInterface::residualSetup ( )
virtualinherited

Gets called just before the residual is computed and before this object is asked to do its job.

Reimplemented in NodeFaceConstraint.

Definition at line 59 of file SetupInterface.C.

60 {
61 }

◆ setFileNumber()

void FileOutput::setFileNumber ( unsigned int  num)
inherited

Sets the file number manually.

This method was implemented for the MultiApp system, particularly when reseting an application and a new output file is desired after the reset.

Definition at line 144 of file FileOutput.C.

145 {
146  _file_num = num;
147 }

Referenced by OutputWarehouse::setFileNumbers().

◆ shouldOutput()

bool AdvancedOutput::shouldOutput ( const ExecFlagType type)
protectedvirtualinherited

Handles logic for determining if a step should be output.

Returns
True if a call if output should be preformed

Reimplemented from FileOutput.

Definition at line 241 of file AdvancedOutput.C.

242 {
243  if (!checkFilename())
244  return false;
245 
246  if (hasOutput(type))
247  return true;
248  else
249  return Output::shouldOutput(type);
250 }

Referenced by Nemesis::output(), and OversampleOutput::outputStep().

◆ solveSetup()

void PetscOutput::solveSetup ( )
overrideprivatevirtualinherited

Internal setup function that executes at the beginning of the time step.

Reimplemented from Output.

Definition at line 130 of file PetscOutput.C.

131 {
132 // Only execute if PETSc exists
133 #ifdef LIBMESH_HAVE_PETSC
134 
135  // Extract the non-linear and linear solvers from PETSc
137  PetscNonlinearSolver<Number> * petsc_solver =
138  dynamic_cast<PetscNonlinearSolver<Number> *>(nl.nonlinearSolver());
139  SNES snes = petsc_solver->snes();
140  KSP ksp;
141  SNESGetKSP(snes, &ksp);
142 
143  // Update the pseudo times
144  _nonlinear_time = _time_old; // non-linear time starts with the previous time step
145  if (_dt != 0)
146  _nonlinear_dt = _dt / _nonlinear_dt_divisor; // set the pseudo non-linear timestep as fraction
147  // of real timestep for transient executioners
148  else
149  _nonlinear_dt = 1. / _nonlinear_dt_divisor; // set the pseudo non-linear timestep for steady
150  // executioners (here _dt==0)
151 
152  _linear_dt = _nonlinear_dt / _linear_dt_divisor; // set the pseudo linear timestep
153 
154  // Set the PETSc monitor functions
157  {
158  PetscErrorCode ierr = SNESMonitorSet(snes, petscNonlinearOutput, this, PETSC_NULL);
159  CHKERRABORT(_communicator.get(), ierr);
160  }
161 
164  {
165  PetscErrorCode ierr = KSPMonitorSet(ksp, petscLinearOutput, this, PETSC_NULL);
166  CHKERRABORT(_communicator.get(), ierr);
167  }
168 #endif
169 }

◆ subdomainSetup()

void SetupInterface::subdomainSetup ( )
virtualinherited

Gets called when the subdomain changes (i.e.

in a Jacobian or residual loop) and before this object is asked to do its job

Reimplemented in Constraint, MaterialBase, Material, GeneralUserObject, NodalUserObject, and ThreadedGeneralUserObject.

Definition at line 64 of file SetupInterface.C.

65 {
66 }

◆ time()

Real PetscOutput::time ( )
overridevirtualinherited

Get the output time.

This outputter enables the ability to perform output on the nonlinear and linear iterations performed by PETSc. To separate theses outputs within the output a pseudo time is defined, this function provides this time and it should be used in place of _time from Outputter.

Reimplemented from Output.

Definition at line 254 of file PetscOutput.C.

255 {
257  return _nonlinear_time;
258  else if (_on_linear_residual)
259  return _linear_time;
260  else
261  return Output::time();
262 }

Referenced by FileOutput::FileOutput(), output(), Nemesis::output(), Exodus::outputEmptyTimestep(), Exodus::outputNodalVariables(), TableOutput::outputPostprocessors(), TableOutput::outputScalarVariables(), and Console::writeTimestepInformation().

◆ timeOld()

Real Output::timeOld ( )
virtualinherited

Get the old output time.

Returns
The old output time, which may be different than the simulation time
See also
time()

Definition at line 236 of file Output.C.

237 {
238  if (_transient)
239  return _time_old;
240  else
241  return _t_step - 1;
242 }

Referenced by Console::writeTimestepInformation().

◆ timeStep()

int Output::timeStep ( )
virtualinherited

Get the current time step.

Definition at line 263 of file Output.C.

264 {
265  return _t_step;
266 }

Referenced by Checkpoint::filename(), CSV::getVectorPostprocessorFileName(), and Console::writeTimestepInformation().

◆ timestepSetup()

void SetupInterface::timestepSetup ( )
virtualinherited

Gets called at the beginning of the timestep before this object is asked to do its job.

Reimplemented in SolutionUserObject, Console, VectorPostprocessorVisualizationAux, NumNonlinearIterations, EqualValueEmbeddedConstraint, VectorMemoryUsage, and MemoryUsage.

Definition at line 49 of file SetupInterface.C.

50 {
51 }

◆ type()

const std::string& MooseObject::type ( ) const
inlineinherited

Get the type of this object.

Returns
the name of the type of this object

Definition at line 63 of file MooseObject.h.

63 { return _type; }

Referenced by FEProblemBase::addArrayVariable(), FEProblemBase::addAuxArrayVariable(), DumpObjectsProblem::addAuxKernel(), DumpObjectsProblem::addAuxScalarKernel(), FEProblemBase::addAuxScalarVariable(), FEProblemBase::addAuxVariable(), DumpObjectsProblem::addBoundaryCondition(), DumpObjectsProblem::addConstraint(), DumpObjectsProblem::addDGKernel(), DumpObjectsProblem::addDiracKernel(), FEProblemBase::addDistribution(), DumpObjectsProblem::addFunction(), FEProblemBase::addFunction(), DumpObjectsProblem::addInitialCondition(), DumpObjectsProblem::addInterfaceKernel(), DumpObjectsProblem::addKernel(), DumpObjectsProblem::addMaterial(), DumpObjectsProblem::addNodalKernel(), FEProblemBase::addPredictor(), FEProblemBase::addSampler(), DumpObjectsProblem::addScalarKernel(), FEProblemBase::addScalarVariable(), PhysicsBasedPreconditioner::addSystem(), FEProblemBase::addTimeIntegrator(), FEProblemBase::addVariable(), FEProblemBase::advanceMultiApps(), FEProblemBase::backupMultiApps(), MooseMesh::buildRefinementAndCoarseningMaps(), FEProblemBase::computeAuxiliaryKernels(), DGKernel::computeElemNeighJacobian(), ArrayDGKernel::computeElemNeighJacobian(), ElemElemConstraint::computeElemNeighJacobian(), DGKernel::computeElemNeighResidual(), ElemElemConstraint::computeElemNeighResidual(), ArrayDGKernel::computeElemNeighResidual(), FEProblemBase::computeMultiAppsDT(), DGKernel::computeOffDiagElemNeighJacobian(), ArrayDGKernel::computeOffDiagElemNeighJacobian(), DGConvection::computeQpJacobian(), ArrayDGDiffusion::computeQpJacobian(), InterfaceReaction::computeQpJacobian(), TiedValueConstraint::computeQpJacobian(), CoupledTiedValueConstraint::computeQpJacobian(), DGDiffusion::computeQpJacobian(), LinearNodalConstraint::computeQpJacobian(), EqualValueBoundaryConstraint::computeQpJacobian(), EqualValueEmbeddedConstraint::computeQpJacobian(), CoupledTiedValueConstraint::computeQpOffDiagJacobian(), EqualValueEmbeddedConstraint::computeQpOffDiagJacobian(), ArrayDGKernel::computeQpOffDiagJacobian(), DGConvection::computeQpResidual(), ArrayDGDiffusion::computeQpResidual(), InterfaceReaction::computeQpResidual(), CoupledTiedValueConstraint::computeQpResidual(), TiedValueConstraint::computeQpResidual(), LinearNodalConstraint::computeQpResidual(), DGDiffusion::computeQpResidual(), EqualValueBoundaryConstraint::computeQpResidual(), EqualValueEmbeddedConstraint::computeQpResidual(), FEProblemBase::computeUserObjectByName(), FEProblemBase::computeUserObjects(), FEProblemBase::computeUserObjectsInternal(), DisplacedProblem::createQRules(), FEProblemBase::createQRules(), DumpObjectsProblem::deduceNecessaryParameters(), DumpObjectsProblem::dumpObjectHelper(), FEProblemBase::duplicateVariableCheck(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), FEProblemBase::execTransfers(), FEProblemBase::finishMultiAppStep(), ElementSubdomainIDGenerator::generate(), ElementGenerator::getElemType(), FEProblemBase::getInterfaceMaterial(), FEProblemBase::getMaterial(), FEProblemBase::getMaterialData(), FEProblemBase::getTransfers(), FEProblemBase::hasMultiApps(), AdvancedOutput::hasOutput(), FEProblemBase::incrementMultiAppTStep(), AdvancedOutput::initAvailableLists(), AdvancedOutput::initShowHideLists(), RelationshipManager::isType(), AssignElementSubdomainID::modify(), ControlOutput::output(), Gnuplot::output(), CSV::output(), Exodus::output(), Console::output(), Nemesis::output(), AdvancedOutput::output(), OversampleOutput::outputStep(), Output::outputStep(), FEProblemBase::outputStep(), FEProblemBase::restoreMultiApps(), FEProblemBase::setCoupling(), PerfGraphOutput::shouldOutput(), FileOutput::shouldOutput(), Output::shouldOutput(), AdvancedOutput::shouldOutput(), DisplacedProblem::updateGeomSearch(), FEProblemBase::updateGeomSearch(), and AdvancedOutput::wantOutput().

◆ updateOversample()

void OversampleOutput::updateOversample ( )
protectedvirtualinherited

Performs the update of the solution vector for the oversample/re-positioned mesh.

Definition at line 212 of file OversampleOutput.C.

213 {
214  // Do nothing if oversampling and changing position are not enabled
215  if (!_oversample && !_change_position)
216  return;
217 
218  // Get a reference to actual equation system
219  EquationSystems & source_es = _problem_ptr->es();
220 
221  // Loop throuch each system
222  for (unsigned int sys_num = 0; sys_num < source_es.n_systems(); ++sys_num)
223  {
224  if (!_mesh_functions[sys_num].empty())
225  {
226  // Get references to the source and destination systems
227  System & source_sys = source_es.get_system(sys_num);
228  System & dest_sys = _oversample_es->get_system(sys_num);
229 
230  // Update the solution for the oversampled mesh
231  _serialized_solution->clear();
232  _serialized_solution->init(source_sys.n_dofs(), false, SERIAL);
233  source_sys.solution->localize(*_serialized_solution);
234 
235  // Update the mesh functions
236  for (unsigned int var_num = 0; var_num < _mesh_functions[sys_num].size(); ++var_num)
237  {
238 
239  // If the mesh has change the MeshFunctions need to be re-built, otherwise simply clear it
240  // for re-initialization
241  if (!_mesh_functions[sys_num][var_num] || _oversample_mesh_changed)
242  _mesh_functions[sys_num][var_num] = libmesh_make_unique<MeshFunction>(
243  source_es, *_serialized_solution, source_sys.get_dof_map(), var_num);
244  else
245  _mesh_functions[sys_num][var_num]->clear();
246 
247  // Initialize the MeshFunctions for application to the oversampled solution
248  _mesh_functions[sys_num][var_num]->init();
249  }
250 
251  // Now loop over the nodes of the oversampled mesh setting values for each variable.
252  for (const auto & node : as_range(_mesh_ptr->localNodesBegin(), _mesh_ptr->localNodesEnd()))
253  for (unsigned int var_num = 0; var_num < _mesh_functions[sys_num].size(); ++var_num)
254  if (node->n_dofs(sys_num, var_num))
255  dest_sys.solution->set(node->dof_number(sys_num, var_num, 0),
256  (*_mesh_functions[sys_num][var_num])(
257  *node - _position)); // 0 value is for component
258 
259  dest_sys.solution->close();
260  }
261  }
262 
263  // Set this to false so that new output files are not created, since the oversampled mesh doesn't
264  // actually change
265  _oversample_mesh_changed = false;
266 }

Referenced by OversampleOutput::outputStep().

◆ validParams()

InputParameters Tecplot::validParams ( )
static

Definition at line 23 of file Tecplot.C.

24 {
25  // Get the base class parameters
27 
28  // Add binary toggle
29  params.addParam<bool>("binary", false, "Set Tecplot files to output in binary format");
30  params.addParamNamesToGroup("binary", "Advanced");
31 
32  // Add optional parameter to turn on appending to ASCII files
33  params.addParam<bool>(
34  "ascii_append",
35  false,
36  "If true, append to an existing ASCII file rather than creating a new file each time");
37 
38  // Need a layer of geometric ghosting for mesh serialization
39  params.addRelationshipManager("MooseGhostPointNeighbors",
41 
42  // Add description for the Tecplot class
43  params.addClassDescription("Object for outputting data in the Tecplot format");
44 
45  // Return the InputParameters
46  return params;
47 }

◆ wantOutput()

bool AdvancedOutput::wantOutput ( const std::string &  name,
const ExecFlagType type 
)
privateinherited

Handles logic for determining if a step should be output.

Returns
True if a call if output should be preformed

Definition at line 300 of file AdvancedOutput.C.

301 {
302  // Ignore EXEC_FORCED for system information and input, there is no reason to force this
303  if (type == EXEC_FORCED && (name == "system_information" || name == "input"))
304  return false;
305 
306  // Do not output if the 'none' is contained by the execute_on
308  return false;
309 
310  // Data output flag, true if data exists to be output
311  bool execute_data_flag = true;
312 
313  // Set flag to false, if the OutputData exists and the output variable list is empty
314  std::map<std::string, OutputData>::const_iterator iter = _execute_data.find(name);
315  if (iter != _execute_data.end() && iter->second.output.empty())
316  execute_data_flag = false;
317 
318  // Set flag to false, if the OutputOnWarehouse DOES NOT contain an entry
320  execute_data_flag = false;
321 
322  // Force the output, if there is something to output and the time has not been output
323  if (type == EXEC_FORCED && execute_data_flag && _last_execute_time[name] != _time)
324  return true;
325 
326  // Return true (output should occur) if three criteria are satisfied, else do not output:
327  // (1) The execute_data_flag = true (i.e, there is data to output)
328  // (2) The current output type is contained in the list of output execution types
329  // (3) The current execution time is "final" or "forced" and the data has not already been
330  // output
331  if (execute_data_flag && _advanced_execute_on[name].contains(type) &&
333  return true;
334  else
335  return false;
336 }

Referenced by AdvancedOutput::hasOutput(), Console::initialSetup(), Console::output(), and AdvancedOutput::output().

Member Data Documentation

◆ _advanced_execute_on

OutputOnWarehouse Output::_advanced_execute_on
protectedinherited

◆ _allow_output

bool Output::_allow_output
protectedinherited

Flag for disabling output.

Definition at line 235 of file Output.h.

Referenced by Output::allowOutput(), OversampleOutput::outputStep(), and Output::outputStep().

◆ _app

MooseApp& MooseObject::_app
protectedinherited

The MooseApp this object is associated with.

Definition at line 172 of file MooseObject.h.

Referenced by GridPartitioner::_do_partition(), AB2PredictorCorrector::AB2PredictorCorrector(), Executioner::addAttributeReporter(), FEProblemBase::addMaterialHelper(), FEProblemBase::addMultiApp(), FEProblemBase::addOutput(), FEProblemBase::allowOutput(), AStableDirk4::AStableDirk4(), FileMesh::buildMesh(), MeshGeneratorMesh::buildMesh(), MooseMesh::buildMeshBaseObject(), FEProblemBase::checkNonlinearConvergence(), OversampleOutput::cloneMesh(), FEProblemBase::computeJacobianTags(), FEProblemBase::computeResidualTags(), Console::Console(), TimeStepper::constrainStep(), MultiApp::createApp(), MeshGenerator::declareMeshProperty(), DumpObjectsProblem::dumpObjectHelper(), DumpObjectsProblem::dumpVariableHelper(), EigenExecutionerBase::EigenExecutionerBase(), EigenKernel::EigenKernel(), NonlinearEigen::execute(), InversePowerMethod::execute(), Transient::execute(), Steady::execute(), FileOutput::FileOutput(), FEProblemBase::forceOutput(), MeshGenerator::getMesh(), MeshGenerator::getMeshByName(), MooseObject::getMooseApp(), NumRelationshipManagers::getValue(), GhostingUserObject::GhostingUserObject(), NonlinearEigen::init(), InversePowerMethod::init(), Transient::init(), Steady::init(), MooseMesh::init(), NumPicardIterations::initialize(), TimePeriod::initialSetup(), Console::initialSetup(), MultiApp::initialSetup(), FEProblemBase::initialSetup(), AdvancedOutput::initOutputList(), FEProblemBase::initPetscOutput(), AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(), ElementSideNeighborLayers::internalInit(), MeshGeneratorMesh::MeshGeneratorMesh(), MooseObject::mooseError(), EigenExecutionerBase::normalizeSolution(), AugmentSparsityOnInterface::operator()(), PerfGraphOutput::output(), output(), Exodus::output(), Nemesis::output(), ControlOutput::outputActiveObjects(), ControlOutput::outputChangedControls(), ControlOutput::outputControls(), Exodus::outputEmptyTimestep(), Console::outputInput(), Exodus::outputInput(), Exodus::outputNodalVariables(), OversampleOutput::outputStep(), Output::outputStep(), FEProblemBase::outputStep(), Console::outputSystemInformation(), MultiApp::parentOutputPositionChanged(), PerformanceData::PerformanceData(), PetscOutput::petscLinearOutput(), PetscOutput::petscNonlinearOutput(), Eigenvalue::postSolve(), Transient::preExecute(), FEProblemBase::projectSolution(), FEProblemBase::setRestartFile(), TransientMultiApp::setupApp(), TimeSequenceStepperBase::setupSequence(), Transient::setupTimeIntegrator(), TransientMultiApp::solveStep(), FEProblemBase::subdomainSetup(), FEProblemBase::theWarehouse(), TimeExtremeValue::TimeExtremeValue(), TimePeriod::TimePeriod(), FEProblemBase::timestepSetup(), Transient::Transient(), and Console::write().

◆ _ascii_append

bool Tecplot::_ascii_append
private

Flag for turning on appending to ASCII files.

Definition at line 52 of file Tecplot.h.

Referenced by filename(), and output().

◆ _binary

bool Tecplot::_binary
private

Flag for binary output.

Definition at line 49 of file Tecplot.h.

Referenced by filename(), output(), and Tecplot().

◆ _change_position

bool OversampleOutput::_change_position
protectedinherited

Flag for re-positioning.

Definition at line 68 of file OversampleOutput.h.

Referenced by OversampleOutput::initOversample(), Exodus::outputSetup(), and OversampleOutput::updateOversample().

◆ _cloned_mesh_ptr

std::unique_ptr<MooseMesh> OversampleOutput::_cloned_mesh_ptr
privateinherited

◆ _console

const ConsoleStream ConsoleStreamInterface::_console
inherited

An instance of helper class to write streams to the Console objects.

Definition at line 31 of file ConsoleStreamInterface.h.

Referenced by IterationAdaptiveDT::acceptStep(), Adaptivity::adaptMesh(), FEProblemBase::adaptMesh(), SimplePredictor::apply(), MultiApp::backup(), FEProblemBase::backupMultiApps(), ReferenceResidualProblem::checkNonlinearConvergence(), FEProblemBase::checkProblemIntegrity(), CoarsenedPiecewiseLinear::CoarsenedPiecewiseLinear(), IterationAdaptiveDT::computeAdaptiveDT(), Transient::computeConstrainedDT(), NonlinearSystemBase::computeDamping(), IterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeFailedDT(), IterationAdaptiveDT::computeInterpolationDT(), FEProblemBase::computeResidualTags(), NonlinearSystem::computeScaling(), IterationAdaptiveDT::constrainStep(), TimeStepper::constrainStep(), MultiApp::createApp(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), MultiAppPostprocessorTransfer::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), MultiAppVectorPostprocessorTransfer::execute(), MultiAppMeshFunctionTransfer::execute(), MultiAppCopyTransfer::execute(), MultiAppInterpolationTransfer::execute(), MultiAppUserObjectTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), MultiAppNearestNodeTransfer::execute(), MultiAppProjectionTransfer::execute(), Steady::execute(), ActionWarehouse::executeActionsWithAction(), ActionWarehouse::executeAllActions(), ElementQualityChecker::finalize(), FEProblemBase::finishMultiAppStep(), MultiApp::globalAppToLocal(), InversePowerMethod::init(), NonlinearEigen::init(), Steady::init(), FEProblemBase::initialAdaptMesh(), FEProblemBase::initialSetup(), EigenExecutionerBase::inversePowerIteration(), Transient::keepGoing(), IterationAdaptiveDT::limitDTByFunction(), IterationAdaptiveDT::limitDTToPostprocessorValue(), EigenExecutionerBase::makeBXConsistent(), Console::meshChanged(), MooseObject::mooseDeprecated(), MooseObject::mooseInfo(), MooseObject::mooseWarning(), PerfGraphOutput::output(), DOFMapOutput::output(), VariableResidualNormsDebugOutput::output(), Console::output(), ControlOutput::outputActiveObjects(), ControlOutput::outputChangedControls(), ControlOutput::outputControls(), Console::outputInput(), Console::outputPostprocessors(), Console::outputScalarVariables(), Console::outputSystemInformation(), FEProblemBase::possiblyRebuildGeomSearchPatches(), MultiAppConservativeTransfer::postExecute(), EigenExecutionerBase::postExecute(), AB2PredictorCorrector::postSolve(), ActionWarehouse::printActionDependencySets(), EigenExecutionerBase::printEigenvalue(), MaterialPropertyDebugOutput::printMaterialMap(), AutomaticMortarGeneration::projectMasterNodesSinglePair(), AutomaticMortarGeneration::projectSlaveNodesSinglePair(), SolutionTimeAdaptiveDT::rejectStep(), DT2::rejectStep(), MultiApp::restore(), FEProblemBase::restoreMultiApps(), SimplePredictor::shouldApply(), PicardSolve::solve(), NonlinearSystem::solve(), LStableDirk2::solve(), LStableDirk3::solve(), ImplicitMidpoint::solve(), ExplicitTVDRK2::solve(), AStableDirk4::solve(), LStableDirk4::solve(), ExplicitRK2::solve(), TransientMultiApp::solveStep(), PicardSolve::solveStep(), DT2::step(), AB2PredictorCorrector::step(), NonlinearEigen::takeStep(), Transient::takeStep(), Console::writeTimestepInformation(), Console::writeVariableNorms(), and FEProblemBase::~FEProblemBase().

◆ _current_execute_flag

const ExecFlagType& SetupInterface::_current_execute_flag
protectedinherited

Reference to FEProblemBase.

Definition at line 99 of file SetupInterface.h.

◆ _dt

Real& Output::_dt
protectedinherited

Time step delta.

Definition at line 199 of file Output.h.

Referenced by Output::dt(), and PetscOutput::solveSetup().

◆ _dt_old

Real& Output::_dt_old
protectedinherited

Old time step delta.

Definition at line 202 of file Output.h.

Referenced by Output::dtOld(), and Console::writeTimestepInformation().

◆ _elemental_as_nodal

bool AdvancedOutput::_elemental_as_nodal
protectedinherited

Flags to control nodal output.

Definition at line 261 of file AdvancedOutput.h.

Referenced by AdvancedOutput::AdvancedOutput(), Exodus::Exodus(), and AdvancedOutput::initialSetup().

◆ _empty_execute_enum

ExecFlagEnum SetupInterface::_empty_execute_enum
privateinherited

Empty ExecFlagEnum for the case when the "execute_on" parameter is not included.

This is private because others should not be messing with it.

Definition at line 89 of file SetupInterface.h.

Referenced by SetupInterface::SetupInterface().

◆ _enabled

const bool& MooseObject::_enabled
protectedinherited

Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects.

Definition at line 181 of file MooseObject.h.

Referenced by MooseObject::enabled().

◆ _end_step

int Output::_end_step
protectedinherited

End outputting at this time step.

Definition at line 223 of file Output.h.

Referenced by Output::onInterval().

◆ _end_time

Real Output::_end_time
protectedinherited

End outputting time.

Definition at line 217 of file Output.h.

◆ _es_ptr

EquationSystems* Output::_es_ptr
protectedinherited

◆ _exec_flags

const std::vector<ExecFlagType> SetupInterface::_exec_flags
protectedinherited

(DEPRECATED) execution flag (when is the object executed/evaluated) TODO: ExecFlagType

Definition at line 96 of file SetupInterface.h.

Referenced by SetupInterface::execBitFlags(), MultiAppTransfer::execFlags(), and SetupInterface::execFlags().

◆ _execute_data

OutputDataWarehouse AdvancedOutput::_execute_data
privateinherited

◆ _execute_enum

const ExecFlagEnum& SetupInterface::_execute_enum
protectedinherited

Execute settings for this oejct.

Definition at line 93 of file SetupInterface.h.

Referenced by ChangeOverTimePostprocessor::ChangeOverTimePostprocessor(), and SetupInterface::getExecuteOnEnum().

◆ _execute_on

ExecFlagEnum Output::_execute_on
protectedinherited

The common Execution types; this is used as the default execution type for everything except system information and input.

Definition at line 187 of file Output.h.

Referenced by AdvancedOutput::AdvancedOutput(), Console::Console(), Output::executeOn(), AdvancedOutput::initExecutionTypes(), Console::initialSetup(), Output::Output(), Console::output(), PetscOutput::PetscOutput(), PerfGraphOutput::shouldOutput(), Output::shouldOutput(), and PetscOutput::solveSetup().

◆ _file_base

std::string FileOutput::_file_base
protectedinherited

◆ _file_num

unsigned int& FileOutput::_file_num
protectedinherited

◆ _first_time

bool& Tecplot::_first_time
private

True if this is the first time the file has been written to, gets set to false after the first call to output().

If the user has set _ascii_append but _first_time==true, we won't actually append. This prevents old data files in a directory from being appended to. Declared as a reference so it can be restartable data, that way if we restart, we don't think it's the first time again.

Definition at line 61 of file Tecplot.h.

Referenced by output().

◆ _initialized

bool Output::_initialized
protectedinherited

True if init() has been called.

Definition at line 232 of file Output.h.

Referenced by AdvancedOutput::hasOutputHelper(), Output::initialSetup(), AdvancedOutput::initialSetup(), and Console::output().

◆ _interval

const unsigned int Output::_interval
protectedinherited

The output time step interval.

Definition at line 208 of file Output.h.

Referenced by Output::onInterval().

◆ _is_advanced

bool Output::_is_advanced
protectedinherited

Flag for advanced output testing.

Definition at line 238 of file Output.h.

Referenced by AdvancedOutput::AdvancedOutput(), and Output::isAdvanced().

◆ _last_execute_time

std::map<std::string, Real> AdvancedOutput::_last_execute_time
privateinherited

Storage for the last output time for the various output types, this is used to avoid duplicate output when using OUTPUT_FINAL flag.

Definition at line 336 of file AdvancedOutput.h.

Referenced by AdvancedOutput::output(), and AdvancedOutput::wantOutput().

◆ _linear_dt

Real PetscOutput::_linear_dt
privateinherited

Psuedo linear time step.

Definition at line 87 of file PetscOutput.h.

Referenced by PetscOutput::petscLinearOutput(), and PetscOutput::solveSetup().

◆ _linear_dt_divisor

Real PetscOutput::_linear_dt_divisor
privateinherited

Pseudo linear timestep divisor.

Definition at line 99 of file PetscOutput.h.

Referenced by PetscOutput::solveSetup().

◆ _linear_end_time

Real PetscOutput::_linear_end_time
privateinherited

Linear residual output end time.

Definition at line 111 of file PetscOutput.h.

Referenced by PetscOutput::PetscOutput(), and PetscOutput::solveSetup().

◆ _linear_iter

PetscInt PetscOutput::_linear_iter
protectedinherited

Current linear iteration returned from PETSc.

Definition at line 53 of file PetscOutput.h.

Referenced by Console::output(), and PetscOutput::petscLinearOutput().

◆ _linear_start_time

Real PetscOutput::_linear_start_time
privateinherited

Linear residual output start time.

Definition at line 105 of file PetscOutput.h.

Referenced by PetscOutput::PetscOutput(), and PetscOutput::solveSetup().

◆ _linear_time

Real PetscOutput::_linear_time
privateinherited

Psuedo linear time.

Definition at line 84 of file PetscOutput.h.

Referenced by PetscOutput::petscLinearOutput(), PetscOutput::petscNonlinearOutput(), and PetscOutput::time().

◆ _mci_feproblem

FEProblemBase& MeshChangedInterface::_mci_feproblem
protectedinherited

Reference to FEProblemBase instance.

Definition at line 43 of file MeshChangedInterface.h.

Referenced by MeshChangedInterface::MeshChangedInterface().

◆ _mesh_functions

std::vector<std::vector<std::unique_ptr<MeshFunction> > > OversampleOutput::_mesh_functions
privateinherited

A vector of pointers to the mesh functions This is only populated when the oversample() function is called, it must be cleaned up by the destructor.

Definition at line 91 of file OversampleOutput.h.

Referenced by OversampleOutput::initOversample(), and OversampleOutput::updateOversample().

◆ _mesh_ptr

MooseMesh* Output::_mesh_ptr
protectedinherited

A convenience pointer to the current mesh (reference or displaced depending on "use_displaced")

Definition at line 181 of file Output.h.

Referenced by OversampleOutput::cloneMesh(), OversampleOutput::initOversample(), output(), XDA::output(), PNGOutput::output(), Output::Output(), Exodus::outputSetup(), and OversampleOutput::updateOversample().

◆ _name

const std::string& MooseObject::_name
protectedinherited

◆ _nonlinear_dt

Real PetscOutput::_nonlinear_dt
privateinherited

The pseuedo non-linear time step.

Definition at line 81 of file PetscOutput.h.

Referenced by PetscOutput::petscNonlinearOutput(), and PetscOutput::solveSetup().

◆ _nonlinear_dt_divisor

Real PetscOutput::_nonlinear_dt_divisor
privateinherited

Pseudo non-linear timestep divisor.

Definition at line 96 of file PetscOutput.h.

Referenced by PetscOutput::solveSetup().

◆ _nonlinear_end_time

Real PetscOutput::_nonlinear_end_time
privateinherited

Non-linear residual output end time.

Definition at line 108 of file PetscOutput.h.

Referenced by PetscOutput::PetscOutput(), and PetscOutput::solveSetup().

◆ _nonlinear_iter

PetscInt PetscOutput::_nonlinear_iter
protectedinherited

Current non-linear iteration returned from PETSc.

Definition at line 50 of file PetscOutput.h.

Referenced by Console::output(), and PetscOutput::petscNonlinearOutput().

◆ _nonlinear_start_time

Real PetscOutput::_nonlinear_start_time
privateinherited

Non-linear residual output start time.

Definition at line 102 of file PetscOutput.h.

Referenced by PetscOutput::PetscOutput(), and PetscOutput::solveSetup().

◆ _nonlinear_time

Real PetscOutput::_nonlinear_time
privateinherited

The psuedo non-linear time.

Definition at line 78 of file PetscOutput.h.

Referenced by PetscOutput::petscNonlinearOutput(), PetscOutput::solveSetup(), and PetscOutput::time().

◆ _norm

Real PetscOutput::_norm
protectedinherited

Current norm returned from PETSc.

Definition at line 47 of file PetscOutput.h.

Referenced by Console::output(), PetscOutput::petscLinearOutput(), and PetscOutput::petscNonlinearOutput().

◆ _num

unsigned int Output::_num
protectedinherited

The number of outputs written.

Definition at line 205 of file Output.h.

◆ _on_linear_residual

bool PetscOutput::_on_linear_residual
privateinherited

True if current output calls is on the linear residual (used by time())

Definition at line 90 of file PetscOutput.h.

Referenced by PetscOutput::petscLinearOutput(), and PetscOutput::time().

◆ _on_nonlinear_residual

bool PetscOutput::_on_nonlinear_residual
privateinherited

True if current output call is on the non-linear residual (used by time())

Definition at line 93 of file PetscOutput.h.

Referenced by PetscOutput::petscNonlinearOutput(), and PetscOutput::time().

◆ _output_if_base_contains

std::vector<std::string> FileOutput::_output_if_base_contains
protectedinherited

Storage for 'output_if_base_contains'.

Definition at line 81 of file FileOutput.h.

Referenced by FileOutput::checkFilename().

◆ _output_step_timer

PerfID Output::_output_step_timer
protectedinherited

Timers.

Definition at line 247 of file Output.h.

Referenced by OversampleOutput::outputStep(), and Output::outputStep().

◆ _oversample

bool OversampleOutput::_oversample
protectedinherited

Flag indicating that oversampling is enabled.

Definition at line 65 of file OversampleOutput.h.

Referenced by OversampleOutput::initOversample(), Exodus::outputSetup(), and OversampleOutput::updateOversample().

◆ _oversample_es

std::unique_ptr<EquationSystems> OversampleOutput::_oversample_es
privateinherited

◆ _oversample_mesh_changed

bool OversampleOutput::_oversample_mesh_changed
privateinherited

A flag indicating that the mesh has changed and the oversampled mesh needs to be re-initialized.

Definition at line 97 of file OversampleOutput.h.

Referenced by OversampleOutput::meshChanged(), and OversampleOutput::updateOversample().

◆ _padding

unsigned int FileOutput::_padding
protectedinherited

◆ _pars

const InputParameters& MooseObject::_pars
protectedinherited

◆ _perf_graph

PerfGraph& PerfGraphInterface::_perf_graph
protectedinherited

The performance graph to add to.

Definition at line 67 of file PerfGraphInterface.h.

Referenced by PerfGraphData::getValue(), and PerfGraphInterface::registerTimedSection().

◆ _pg_params

const InputParameters* PerfGraphInterface::_pg_params
protectedinherited

Params.

Definition at line 64 of file PerfGraphInterface.h.

◆ _position

Point OversampleOutput::_position
privateinherited

When oversampling, the output is shift by this amount.

Definition at line 94 of file OversampleOutput.h.

Referenced by OversampleOutput::initOversample(), and OversampleOutput::updateOversample().

◆ _prefix

std::string PerfGraphInterface::_prefix
protectedinherited

A prefix to use for all sections.

Definition at line 70 of file PerfGraphInterface.h.

Referenced by PerfGraphInterface::registerTimedSection().

◆ _problem_ptr

FEProblemBase* Output::_problem_ptr
protectedinherited

◆ _refinements

const unsigned int OversampleOutput::_refinements
protectedinherited

The number of oversampling refinements.

Definition at line 62 of file OversampleOutput.h.

Referenced by OversampleOutput::initOversample().

◆ _restartable_app

MooseApp& Restartable::_restartable_app
privateinherited

Reference to the application.

Definition at line 208 of file Restartable.h.

Referenced by Restartable::registerRestartableDataOnApp(), and Restartable::registerRestartableNameWithFilterOnApp().

◆ _restartable_name

std::string Restartable::_restartable_name
privateinherited

◆ _restartable_system_name

std::string Restartable::_restartable_system_name
privateinherited

The system name this object is in.

Definition at line 214 of file Restartable.h.

Referenced by Restartable::declareRecoverableData(), and Restartable::declareRestartableDataWithContext().

◆ _restartable_tid

THREAD_ID Restartable::_restartable_tid
privateinherited

The thread ID for this object.

Definition at line 217 of file Restartable.h.

Referenced by Restartable::declareRestartableDataWithContext().

◆ _scalar_as_nodal

bool AdvancedOutput::_scalar_as_nodal
protectedinherited

◆ _sequence

bool Output::_sequence
protectedinherited

Flag for forcing call to outputSetup() with every call to output() (restartable)

Definition at line 184 of file Output.h.

◆ _serialized_solution

std::unique_ptr<NumericVector<Number> > OversampleOutput::_serialized_solution
privateinherited

Oversample solution vector.

Definition at line 108 of file OversampleOutput.h.

Referenced by OversampleOutput::initOversample(), and OversampleOutput::updateOversample().

◆ _start_step

int Output::_start_step
protectedinherited

Start outputting at this time step.

Definition at line 220 of file Output.h.

Referenced by Output::onInterval().

◆ _start_time

Real Output::_start_time
protectedinherited

Start outputting time.

Definition at line 214 of file Output.h.

Referenced by Output::onInterval().

◆ _sync_only

bool Output::_sync_only
protectedinherited

Flag for only executing at sync times.

Definition at line 229 of file Output.h.

Referenced by Output::onInterval().

◆ _sync_times

std::set<Real> Output::_sync_times
protectedinherited

Sync times for this outputter.

Definition at line 211 of file Output.h.

Referenced by Output::onInterval().

◆ _t_step

int& Output::_t_step
protectedinherited

◆ _t_tol

Real Output::_t_tol
protectedinherited

Time checking tolerance.

Definition at line 226 of file Output.h.

Referenced by PetscOutput::solveSetup().

◆ _time

Real& Output::_time
protectedinherited

◆ _time_old

Real& Output::_time_old
protectedinherited

The old time.

Definition at line 193 of file Output.h.

Referenced by PetscOutput::solveSetup(), and Output::timeOld().

◆ _transient

bool Output::_transient
protectedinherited

Transient flag (true = transient)

Definition at line 172 of file Output.h.

Referenced by Output::dt(), Output::dtOld(), Output::time(), Output::timeOld(), and Console::writeTimestepInformation().

◆ _type

const std::string& MooseObject::_type
protectedinherited

The type of this object (the Class name)

Definition at line 175 of file MooseObject.h.

Referenced by FEProblemBase::init(), and MooseObject::type().

◆ _use_displaced

bool Output::_use_displaced
protectedinherited

Flag for using displaced mesh.

Definition at line 175 of file Output.h.

Referenced by Output::Output().


The documentation for this class was generated from the following files:
InputParameters::getParamHelper
static const T & getParamHelper(const std::string &name, const InputParameters &pars, const T *the_type)
Definition: InputParameters.h:1517
Output::_execute_on
ExecFlagEnum _execute_on
The common Execution types; this is used as the default execution type for everything except system i...
Definition: Output.h:187
MooseVariableFEBase
Definition: MooseVariableFEBase.h:27
PetscOutput::_nonlinear_iter
PetscInt _nonlinear_iter
Current non-linear iteration returned from PETSc.
Definition: PetscOutput.h:50
Output::outputStep
virtual void outputStep(const ExecFlagType &type)
A single call to this function should output all the necessary data for a single timestep.
Definition: Output.C:167
OversampleOutput::cloneMesh
void cloneMesh()
Clone mesh in preperation for re-positioning or oversampling.
Definition: OversampleOutput.C:269
MooseEnumBase::getRawNames
std::string getRawNames() const
Method for returning the raw name strings for this instance.
Definition: MooseEnumBase.C:158
PerfGraphInterface::_perf_graph
PerfGraph & _perf_graph
The performance graph to add to.
Definition: PerfGraphInterface.h:67
MooseObject::mooseInfo
void mooseInfo(Args &&... args) const
Definition: MooseObject.h:162
PetscOutput::petscLinearOutput
static PetscErrorCode petscLinearOutput(KSP, PetscInt its, PetscReal fnorm, void *void_ptr)
Performs the output onlinear iterations.
Definition: PetscOutput.C:214
SubProblem::arrayVariableComponent
static std::string arrayVariableComponent(const std::string &var_name, unsigned int i)
Returns the variable name of a component of an array variable.
Definition: SubProblem.h:197
PetscOutput::_nonlinear_end_time
Real _nonlinear_end_time
Non-linear residual output end time.
Definition: PetscOutput.h:108
MooseApp::getOutputWarehouse
OutputWarehouse & getOutputWarehouse()
Get the OutputWarehouse objects.
Definition: MooseApp.C:1122
moose::internal::mooseStreamAll
void mooseStreamAll(std::ostringstream &ss)
All of the following are not meant to be called directly - they are called by the normal macros (moos...
Definition: MooseError.C:88
FileOutput::_file_num
unsigned int & _file_num
A file number counter, initialized to 0 (this must be controlled by the child class,...
Definition: FileOutput.h:75
MooseVariableBase::feType
const FEType & feType() const
Get the type of finite element object.
Definition: MooseVariableBase.h:53
MooseObject::mooseError
void mooseError(Args &&... args) const
Definition: MooseObject.h:141
Moose::RelationshipManagerType::GEOMETRIC
Output::_problem_ptr
FEProblemBase * _problem_ptr
Pointer the the FEProblemBase object for output object (use this)
Definition: Output.h:169
OversampleOutput::_refinements
const unsigned int _refinements
The number of oversampling refinements.
Definition: OversampleOutput.h:62
MooseObject::isParamValid
bool isParamValid(const std::string &name) const
Test if the supplied parameter is valid.
Definition: MooseObject.h:100
MooseObject::_type
const std::string & _type
The type of this object (the Class name)
Definition: MooseObject.h:175
Restartable::_restartable_name
std::string _restartable_name
The name of the object.
Definition: Restartable.h:211
PetscOutput::time
virtual Real time() override
Get the output time.
Definition: PetscOutput.C:254
InputParameters::addRelationshipManager
void addRelationshipManager(const std::string &name, Moose::RelationshipManagerType rm_type, Moose::RelationshipManagerInputParameterCallback input_parameter_callback=nullptr)
Tells MOOSE about a RelationshipManager that this object needs.
Definition: InputParameters.C:344
Output::_output_step_timer
PerfID _output_step_timer
Timers.
Definition: Output.h:247
EXEC_FAILED
const ExecFlagType EXEC_FAILED
Tecplot::output
virtual void output(const ExecFlagType &type) override
Overload the Output::output method, this is required for Tecplot output due to the method utilized fo...
Definition: Tecplot.C:66
MooseEnumItem::id
const int & id() const
Return the numeric, name, or raw name.
Definition: MooseEnumItem.h:36
nl
NonlinearSystemBase * nl
Definition: PetscDMMoose.C:1267
AdvancedOutput::_last_execute_time
std::map< std::string, Real > _last_execute_time
Storage for the last output time for the various output types, this is used to avoid duplicate output...
Definition: AdvancedOutput.h:336
PetscOutput::_on_nonlinear_residual
bool _on_nonlinear_residual
True if current output call is on the non-linear residual (used by time())
Definition: PetscOutput.h:93
ExecFlagEnum::addAvailableFlags
void addAvailableFlags(const ExecFlagType &flag, Args... flags)
Add additional execute_on flags to the list of possible flags.
Definition: ExecFlagEnum.h:85
MooseMesh::localNodesBegin
MeshBase::const_node_iterator localNodesBegin()
Calls local_nodes_begin/end() on the underlying libMesh mesh object.
Definition: MooseMesh.C:2227
MooseObject::type
const std::string & type() const
Get the type of this object.
Definition: MooseObject.h:63
OutputWarehouse::flushConsoleBuffer
void flushConsoleBuffer()
If content exists in the buffer, write it.
Definition: OutputWarehouse.C:214
EXEC_NONLINEAR
const ExecFlagType EXEC_NONLINEAR
FEProblemBase::hasVectorPostprocessor
bool hasVectorPostprocessor(const std::string &name)
Check existence of the VectorPostprocessor.
Definition: FEProblemBase.C:3246
AdvancedOutput::wantOutput
bool wantOutput(const std::string &name, const ExecFlagType &type)
Handles logic for determining if a step should be output.
Definition: AdvancedOutput.C:300
Restartable::registerRestartableDataOnApp
RestartableDataValue & registerRestartableDataOnApp(const std::string &name, std::unique_ptr< RestartableDataValue > data, THREAD_ID tid)
Helper function for actually registering the restartable data.
Definition: Restartable.C:48
EXEC_FORCED
const ExecFlagType EXEC_FORCED
Output::_time_old
Real & _time_old
The old time.
Definition: Output.h:193
emptyInputParameters
InputParameters emptyInputParameters()
Definition: InputParameters.C:24
OutputData::output
std::set< std::string > output
A list of the outputs to write.
Definition: AdvancedOutputUtils.h:39
Output::_is_advanced
bool _is_advanced
Flag for advanced output testing.
Definition: Output.h:238
Output::_es_ptr
EquationSystems * _es_ptr
Reference the the libMesh::EquationSystems object that contains the data.
Definition: Output.h:178
AdvancedOutput::output
virtual void output(const ExecFlagType &type)
A single call to this function should output all the necessary data for a single timestep.
Definition: AdvancedOutput.C:253
InputParameters::addParam
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object.
Definition: InputParameters.h:1198
PerfGraph::registerSection
PerfID registerSection(const std::string &section_name, unsigned int level)
Registers a named section of code.
Definition: PerfGraph.C:45
MooseObject::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:76
AdvancedOutput::initialSetup
virtual void initialSetup()
Initialization method.
Definition: AdvancedOutput.C:134
PetscOutput::_on_linear_residual
bool _on_linear_residual
True if current output calls is on the linear residual (used by time())
Definition: PetscOutput.h:90
OutputWarehouse::buildInterfaceHideVariables
void buildInterfaceHideVariables(const std::string &output_name, std::set< std::string > &hide)
Return the list of hidden variables for the given output name.
Definition: OutputWarehouse.C:281
MooseObject::_enabled
const bool & _enabled
Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects.
Definition: MooseObject.h:181
RestartableData::set
T & set()
Definition: RestartableData.h:97
PetscOutput::_linear_start_time
Real _linear_start_time
Linear residual output start time.
Definition: PetscOutput.h:105
moose::internal::mooseInfoStream
void mooseInfoStream(S &oss, Args &&... args)
Definition: MooseError.h:165
Tecplot::_ascii_append
bool _ascii_append
Flag for turning on appending to ASCII files.
Definition: Tecplot.h:52
EXEC_LINEAR
const ExecFlagType EXEC_LINEAR
Tecplot::_binary
bool _binary
Flag for binary output.
Definition: Tecplot.h:49
TheWarehouse::query
Query query()
query creates and returns an initialized a query object for querying objects from the warehouse.
Definition: TheWarehouse.h:239
Output::_advanced_execute_on
OutputOnWarehouse _advanced_execute_on
Storage for the individual component execute flags.
Definition: Output.h:244
Output::_allow_output
bool _allow_output
Flag for disabling output.
Definition: Output.h:235
Output::_start_step
int _start_step
Start outputting at this time step.
Definition: Output.h:220
PetscOutput::_nonlinear_dt
Real _nonlinear_dt
The pseuedo non-linear time step.
Definition: PetscOutput.h:81
OversampleOutput::updateOversample
virtual void updateOversample()
Performs the update of the solution vector for the oversample/re-positioned mesh.
Definition: OversampleOutput.C:212
PetscOutput::_linear_end_time
Real _linear_end_time
Linear residual output end time.
Definition: PetscOutput.h:111
PetscOutput::_linear_time
Real _linear_time
Psuedo linear time.
Definition: PetscOutput.h:84
EXEC_NONE
const ExecFlagType EXEC_NONE
ConsoleStreamInterface::_console
const ConsoleStream _console
An instance of helper class to write streams to the Console objects.
Definition: ConsoleStreamInterface.h:31
OversampleOutput::_cloned_mesh_ptr
std::unique_ptr< MooseMesh > _cloned_mesh_ptr
Definition: OversampleOutput.h:100
Output::_t_step
int & _t_step
The current time step.
Definition: Output.h:196
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition: InputParameters.h:53
OversampleOutput::OversampleOutput
OversampleOutput(const InputParameters &parameters)
Definition: OversampleOutput.C:59
InputParameters::set
T & set(const std::string &name, bool quiet_mode=false)
Returns a writable reference to the named parameters.
Definition: InputParameters.h:987
PetscOutput::_nonlinear_time
Real _nonlinear_time
The psuedo non-linear time.
Definition: PetscOutput.h:78
Moose::VAR_ANY
Definition: MooseTypes.h:610
moose::internal::mooseDeprecatedStream
void mooseDeprecatedStream(S &oss, bool expired, Args &&... args)
Definition: MooseError.h:177
Output::shouldOutput
virtual bool shouldOutput(const ExecFlagType &type)
Handles logic for determining if a step should be output.
Definition: Output.C:192
MooseMesh::localNodesEnd
MeshBase::const_node_iterator localNodesEnd()
Definition: MooseMesh.C:2233
Output::_dt
Real & _dt
Time step delta.
Definition: Output.h:199
PetscOutput::_linear_dt
Real _linear_dt
Psuedo linear time step.
Definition: PetscOutput.h:87
PerfGraphInterface::_prefix
std::string _prefix
A prefix to use for all sections.
Definition: PerfGraphInterface.h:70
MooseVariableBase::count
unsigned int count() const
Get the number of components Note: For standard and vector variables, the number is one.
Definition: MooseVariableBase.h:98
paramErrorPrefix
std::string paramErrorPrefix(const InputParameters &params, const std::string &param)
Generates a canonical paramError prefix for param-related error/warning/info messages.
Definition: MooseObject.C:24
Output::_t_tol
Real _t_tol
Time checking tolerance.
Definition: Output.h:226
FEProblemBase::hasVariable
virtual bool hasVariable(const std::string &var_name) const override
Whether or not this problem has the variable.
Definition: FEProblemBase.C:4196
AdvancedOutput::shouldOutput
virtual bool shouldOutput(const ExecFlagType &type)
Handles logic for determining if a step should be output.
Definition: AdvancedOutput.C:241
OutputMapWrapper::contains
bool contains(const std::string &name)
A method for testing of a key exists.
Definition: AdvancedOutputUtils.h:98
FileOutput::checkFilename
bool checkFilename()
Checks the filename for output Checks the output against the 'output_if_base_contians' list.
Definition: FileOutput.C:113
Output::_start_time
Real _start_time
Start outputting time.
Definition: Output.h:214
MooseMesh::getMesh
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
Definition: MooseMesh.C:2599
OversampleOutput::_oversample_mesh_changed
bool _oversample_mesh_changed
A flag indicating that the mesh has changed and the oversampled mesh needs to be re-initialized.
Definition: OversampleOutput.h:97
PetscOutput::_nonlinear_start_time
Real _nonlinear_start_time
Non-linear residual output start time.
Definition: PetscOutput.h:102
OutputData::hide
std::set< std::string > hide
User-supplied list of outputs to hide.
Definition: AdvancedOutputUtils.h:36
OversampleOutput::validParams
static InputParameters validParams()
Definition: OversampleOutput.C:26
OutputDataWarehouse::hasShowList
bool hasShowList()
False when the show lists for all variables is empty.
Definition: AdvancedOutputUtils.h:159
InputParameters::isParamValid
bool isParamValid(const std::string &name) const
This method returns parameters that have been initialized in one fashion or another,...
Definition: InputParameters.C:257
OutputData
A structure for storing the various lists that contain the names of the items to be exported.
Definition: AdvancedOutputUtils.h:27
AdvancedOutput::hasOutput
virtual bool hasOutput()
Returns true if any of the other has methods return true.
Definition: AdvancedOutput.C:351
PetscOutput
Adds the ability to output on every nonlinear and/or linear residual.
Definition: PetscOutput.h:24
InputParameters::addClassDescription
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump.
Definition: InputParameters.C:70
ierr
ierr
Definition: PetscDMMoose.C:1270
mooseDeprecated
void mooseDeprecated(Args &&... args)
Emit a deprecated code/feature message with the given stringified, concatenated args.
Definition: MooseError.h:239
MooseApp::registerRestartableData
RestartableDataValue & registerRestartableData(const std::string &name, std::unique_ptr< RestartableDataValue > data, THREAD_ID tid, bool mesh_meta_data, bool read_only)
Definition: MooseApp.C:1156
PetscOutput::_linear_iter
PetscInt _linear_iter
Current linear iteration returned from PETSc.
Definition: PetscOutput.h:53
Tecplot::filename
virtual std::string filename() override
Returns the current filename, this method handles adding the timestep suffix.
Definition: Tecplot.C:89
callMooseErrorRaw
void callMooseErrorRaw(std::string &msg, MooseApp *app)
Definition: MooseObject.C:70
SetupInterface::_exec_flags
const std::vector< ExecFlagType > _exec_flags
(DEPRECATED) execution flag (when is the object executed/evaluated) TODO: ExecFlagType
Definition: SetupInterface.h:96
Output::_time
Real & _time
The current time for output purposes.
Definition: Output.h:190
OversampleOutput::_change_position
bool _change_position
Flag for re-positioning.
Definition: OversampleOutput.h:68
OutputData::available
std::set< std::string > available
A list of all possible outputs.
Definition: AdvancedOutputUtils.h:30
Output::output
virtual void output(const ExecFlagType &type)=0
Overload this function with the desired output activities.
PetscOutput::_norm
Real _norm
Current norm returned from PETSc.
Definition: PetscOutput.h:47
Output::_dt_old
Real & _dt_old
Old time step delta.
Definition: Output.h:202
OutputMapWrapper::find
std::map< std::string, T >::iterator find(const std::string &name)
Definition: AdvancedOutputUtils.h:83
OutputWarehouse::checkOutputs
void checkOutputs(const std::set< OutputName > &names)
Test that the output names exist.
Definition: OutputWarehouse.C:291
MooseApp::isRecovering
bool isRecovering() const
Whether or not this is a "recover" calculation.
Definition: MooseApp.C:934
Output::_initialized
bool _initialized
True if init() has been called.
Definition: Output.h:232
Output::_interval
const unsigned int _interval
The output time step interval.
Definition: Output.h:208
OversampleOutput::_mesh_functions
std::vector< std::vector< std::unique_ptr< MeshFunction > > > _mesh_functions
A vector of pointers to the mesh functions This is only populated when the oversample() function is c...
Definition: OversampleOutput.h:91
MooseUtils::replaceAll
std::string replaceAll(std::string str, const std::string &from, const std::string &to)
Replaces all occurences of from in str with to and returns the result.
Definition: MooseUtils.C:45
EXEC_INITIAL
const ExecFlagType EXEC_INITIAL
Output::_mesh_ptr
MooseMesh * _mesh_ptr
A convenience pointer to the current mesh (reference or displaced depending on "use_displaced")
Definition: Output.h:181
OversampleOutput::_position
Point _position
When oversampling, the output is shift by this amount.
Definition: OversampleOutput.h:94
Tecplot::_first_time
bool & _first_time
True if this is the first time the file has been written to, gets set to false after the first call t...
Definition: Tecplot.h:61
OversampleOutput::initOversample
void initOversample()
Setups the output object to produce re-positioned and/or oversampled results.
Definition: OversampleOutput.C:122
InputParameters::addParamNamesToGroup
void addParamNamesToGroup(const std::string &space_delim_names, const std::string group_name)
This method takes a space delimited list of parameter names and adds them to the specified group name...
Definition: InputParameters.C:590
TheWarehouse::Query::condition
Query & condition(Args &&... args)
Adds a new condition to the query.
Definition: TheWarehouse.h:157
FEProblemBase::getVariable
virtual MooseVariableFEBase & getVariable(THREAD_ID tid, const std::string &var_name, Moose::VarKindType expected_var_type=Moose::VarKindType::VAR_ANY, Moose::VarFieldType expected_var_field_type=Moose::VarFieldType::VAR_FIELD_ANY) override
Returns the variable reference for requested variable which must be of the expected_var_type (Nonline...
Definition: FEProblemBase.C:4207
InputParameters::getCheckedPointerParam
T getCheckedPointerParam(const std::string &name, const std::string &error_string="") const
Verifies that the requested parameter exists and is not NULL and returns it to the caller.
Definition: InputParameters.h:1162
PetscOutput::_nonlinear_dt_divisor
Real _nonlinear_dt_divisor
Pseudo non-linear timestep divisor.
Definition: PetscOutput.h:96
Output::time
virtual Real time()
Get the output time.
Definition: Output.C:227
MultiMooseEnum
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MultiMooseEnum.h:38
OutputMapWrapper::end
std::map< std::string, T >::iterator end()
Definition: AdvancedOutputUtils.h:82
AttribSystem
Definition: Attributes.h:196
OutputData::show
std::set< std::string > show
User-supplied list of outputs to display.
Definition: AdvancedOutputUtils.h:33
Restartable::_restartable_app
MooseApp & _restartable_app
Reference to the application.
Definition: Restartable.h:208
EXEC_FINAL
const ExecFlagType EXEC_FINAL
Restartable::_restartable_tid
THREAD_ID _restartable_tid
The thread ID for this object.
Definition: Restartable.h:217
Output::_transient
bool _transient
Transient flag (true = transient)
Definition: Output.h:172
FEProblemBase::getNonlinearSystemBase
NonlinearSystemBase & getNonlinearSystemBase()
Definition: FEProblemBase.h:560
FEProblemBase::es
virtual EquationSystems & es() override
Definition: FEProblemBase.h:147
Moose::show_trace
bool show_trace
Set to true (the default) to print the stack trace with error and warning messages - false to omit it...
Definition: Moose.C:572
Moose::RESTARTABLE_FILTER::RECOVERABLE
Output::_sync_only
bool _sync_only
Flag for only executing at sync times.
Definition: Output.h:229
MooseApp::registerRestartableNameWithFilter
void registerRestartableNameWithFilter(const std::string &name, Moose::RESTARTABLE_FILTER filter)
NOTE: This is an internal function meant for MOOSE use only!
Definition: MooseApp.C:972
Moose::VAR_FIELD_ANY
Definition: MooseTypes.h:619
AdvancedOutput::_execute_data
OutputDataWarehouse _execute_data
Storage structures for the various output types.
Definition: AdvancedOutput.h:333
PetscOutput::_linear_dt_divisor
Real _linear_dt_divisor
Pseudo linear timestep divisor.
Definition: PetscOutput.h:99
MooseMesh::safeClone
virtual std::unique_ptr< MooseMesh > safeClone() const =0
A safer version of the clone() method that hands back an allocated object wrapped in a smart pointer.
FEProblemBase::getVariableNames
virtual std::vector< VariableName > getVariableNames()
Returns a list of all the variables in the problem (both from the NL and Aux systems.
Definition: FEProblemBase.C:6211
MooseObject::_name
const std::string & _name
The name of this object, reference to value stored in InputParameters.
Definition: MooseObject.h:178
MooseObject::_pars
const InputParameters & _pars
Parameters of this object, references the InputParameters stored in the InputParametersWarehouse.
Definition: MooseObject.h:169
FileOutput::_padding
unsigned int _padding
Number of digits to pad the extensions.
Definition: FileOutput.h:78
moose::internal::mooseWarningStream
void mooseWarningStream(S &oss, Args &&... args)
Definition: MooseError.h:136
NonlinearSystemBase::nonlinearSolver
virtual NonlinearSolver< Number > * nonlinearSolver()=0
OutputDataWarehouse::setHasShowList
void setHasShowList(bool value)
Set the show list bool.
Definition: AdvancedOutputUtils.h:167
PetscOutput::petscNonlinearOutput
static PetscErrorCode petscNonlinearOutput(SNES, PetscInt its, PetscReal fnorm, void *void_ptr)
Performs the output on non-linear iterations.
Definition: PetscOutput.C:174
AdvancedOutput::addValidParams
static void addValidParams(InputParameters &params, const MultiMooseEnum &types)
Method for defining the available parameters based on the types of outputs.
Definition: AdvancedOutput.C:627
AdvancedOutput::getOutputTypes
static MultiMooseEnum getOutputTypes()
Get the supported types of output (e.g., postprocessors, etc.)
Definition: AdvancedOutput.C:94
OversampleOutput::_serialized_solution
std::unique_ptr< NumericVector< Number > > _serialized_solution
Oversample solution vector.
Definition: OversampleOutput.h:108
OversampleOutput::_oversample_es
std::unique_ptr< EquationSystems > _oversample_es
Definition: OversampleOutput.h:99
MultiMooseEnum::contains
bool contains(const std::string &value) const
Contains methods for seeing if a value is in the MultiMooseEnum.
Definition: MultiMooseEnum.C:61
ExecFlagEnum
A MultiMooseEnum object to hold "execute_on" flags.
Definition: ExecFlagEnum.h:24
NonlinearSystemBase
Nonlinear system to be solved.
Definition: NonlinearSystemBase.h:61
AdvancedOutput::hasOutputHelper
bool hasOutputHelper(const std::string &name)
Helper method for checking if output types exists.
Definition: AdvancedOutput.C:716
FileOutput::_file_base
std::string _file_base
The base filename from the input paramaters.
Definition: FileOutput.h:72
RestartableData
Concrete definition of a parameter value for a specified type.
Definition: RestartableData.h:76
FileOutput::_output_if_base_contains
std::vector< std::string > _output_if_base_contains
Storage for 'output_if_base_contains'.
Definition: FileOutput.h:81
MooseObject::_app
MooseApp & _app
The MooseApp this object is associated with.
Definition: MooseObject.h:172
MultiMooseEnum::clear
void clear()
Clear the MultiMooseEnum.
Definition: MultiMooseEnum.C:227
Output::_end_step
int _end_step
End outputting at this time step.
Definition: Output.h:223
Restartable::_restartable_system_name
std::string _restartable_system_name
The system name this object is in.
Definition: Restartable.h:214
OversampleOutput::_oversample
bool _oversample
Flag indicating that oversampling is enabled.
Definition: OversampleOutput.h:65
Output::_sync_times
std::set< Real > _sync_times
Sync times for this outputter.
Definition: Output.h:211
ExecFlagType
MooseEnumItem ExecFlagType
Definition: Moose.h:99
FEProblemBase::hasPostprocessor
bool hasPostprocessor(const std::string &name)
Check existence of the postprocessor.
Definition: FEProblemBase.C:3216
MooseObject::mooseWarning
void mooseWarning(Args &&... args) const
Definition: MooseObject.h:150
MooseObject::paramErrorMsg
std::string paramErrorMsg(const std::string &param, Args... args) const
Definition: MooseObject.h:185
MooseUtils::getDefaultExecFlagEnum
ExecFlagEnum getDefaultExecFlagEnum()
Return the default ExecFlagEnum for MOOSE.
Definition: MooseUtils.C:685
SetupInterface::_execute_enum
const ExecFlagEnum & _execute_enum
Execute settings for this oejct.
Definition: SetupInterface.h:93
MooseObject::name
virtual const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:70
infix_ostream_iterator
Definition: InfixIterator.h:19
RestartableData::get
T & get()
Definition: RestartableData.h:92
Restartable::registerRestartableNameWithFilterOnApp
void registerRestartableNameWithFilterOnApp(const std::string &name, Moose::RESTARTABLE_FILTER filter)
Helper function for actually registering the restartable data.
Definition: Restartable.C:56
Output::onInterval
virtual bool onInterval()
Returns true if the output interval is satisfied.
Definition: Output.C:203
MooseApp::getGlobalTimeOffset
Real getGlobalTimeOffset() const
Each App has it's own local time.
Definition: MooseApp.h:254
FEProblemBase::theWarehouse
TheWarehouse & theWarehouse() const
Definition: FEProblemBase.h:1622
FEProblemBase::hasScalarVariable
virtual bool hasScalarVariable(const std::string &var_name) const override
Returns a Boolean indicating whether any system contains a variable with the name provided.
Definition: FEProblemBase.C:4249