https://mooseframework.inl.gov
NodePositions.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 #include "BlockRestrictable.h"
15 #include "BoundaryRestrictable.h"
16 
21 {
22 public:
25  virtual ~NodePositions() = default;
26 
27  virtual void initialize() override;
28 
29  // We need to override finalize to prune duplicate positions on distributed meshes.
30  virtual void finalize() override;
31 
33 };
Positions from nodes of elements in the mesh.
Definition: NodePositions.h:20
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:127
Positions objects are under the hood Reporters.
Definition: Positions.h:20
virtual void initialize() override
In charge of computing / loading the positions.
Definition: NodePositions.C:46
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
/class BoundaryRestrictable /brief Provides functionality for limiting the object to certain boundary...
virtual void finalize() override
In charge of reduction across all ranks & sorting for consistent output.
Definition: NodePositions.C:93
static InputParameters validParams()
Definition: NodePositions.C:17
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition: MooseMesh.h:88
NodePositions(const InputParameters &parameters)
Definition: NodePositions.C:33
virtual ~NodePositions()=default
An interface that restricts an object to subdomains via the 'blocks' input parameter.
MooseMesh & _mesh
Definition: NodePositions.h:32