bool _use_sampled_output
Flag indicating that the sampled output should be used to re-sample the underlying EquationSystem of ...
virtual void updateSample()
Performs the update of the solution vector for the sample/re-positioned mesh.
const bool _change_position
Flag for re-positioning.
virtual void outputStep(const ExecFlagType &type) override
A single call to this function should output all the necessary data for a single timestep.
SampledOutput(const InputParameters ¶meters)
const bool _using_external_sampling_file
Flag indicating another file is being used for the sampling.
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
bool _mesh_subdomains_match
A flag tracking whether the sampling and source meshes match in terms of subdomains.
bool _serialize
Flag indicating whether we are outputting in serial or parallel.
Based class for providing re-positioning and oversampling support to output objects.
std::unique_ptr< EquationSystems > _sampling_es
Equation system holding the solution vectors for the sampled variables.
std::vector< std::vector< unsigned int > > _variable_numbers_in_system
A vector of vectors that keeps track of the variable numbers in each system for each mesh function...
std::unique_ptr< MooseMesh > _sampling_mesh_ptr
Mesh used for sampling. The Output class' _mesh_ptr will refer to this mesh if sampling is being used...
void initSample()
Setups the output object to produce re-positioned and/or sampled results.
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
const std::string & type() const
Get the type of this class.
virtual void meshChanged() override
Called on this object when the mesh changes.
const unsigned int _refinements
The number of oversampling refinements.
Based class for output objects.
Class for containing MooseEnum item information.
Point _position
When oversampling, the output is shift by this amount.
bool _sampling_mesh_changed
A flag indicating that the mesh has changed and the sampled mesh needs to be re-initialized.
std::unique_ptr< NumericVector< Number > > _serialized_solution
Sample solution vector.
const InputParameters & parameters() const
Get the parameters of the object.
bool isSampledAtNodes(const FEType &fe_type) const
Used to decide which variable is sampled at nodes, then output as a nodal variable for (over)sampling...
std::vector< std::vector< std::unique_ptr< libMesh::MeshFunction > > > _mesh_functions
A vector of pointers to the mesh functions on the sampled mesh This is only populated when the initSa...
static InputParameters validParams()
virtual void setFileBaseInternal(const std::string &file_base) override
Appends the base class's file base string.
void cloneMesh()
Clone mesh in preperation for re-positioning or oversampling.
virtual void initialSetup() override
Call init() method on setup.