https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MultiAppPositions.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12// Moose includes
13#include "Positions.h"
14
19{
20public:
23 virtual ~MultiAppPositions() = default;
24
25 // MultiApp positions are not known at construction
26 void initialize() override;
27
28 // Since we did not initialize on construction, initialize on setup by default
29 void initialSetup() override
30 {
31 initialize();
32 finalize();
33 }
34
37};
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
Positions from all the MultiApps.
const bool _use_apps_centroid
Whether to use the subapp mesh centroids to compute the positions, further translated by the position...
static InputParameters validParams()
virtual ~MultiAppPositions()=default
void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job.
void initialize() override
In charge of computing / loading the positions.
Positions objects are under the hood Reporters.
Definition Positions.h:21
virtual void finalize() override
In charge of reduction across all ranks & sorting for consistent output.
Definition Positions.C:220