https://mooseframework.inl.gov
include
vectorpostprocessors
ElementsAlongPlane.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
#include "
GeneralVectorPostprocessor.h
"
13
17
class
ElementsAlongPlane
:
public
GeneralVectorPostprocessor
18
{
19
public
:
20
static
InputParameters
validParams
();
21
22
ElementsAlongPlane
(
const
InputParameters
&
parameters
);
23
24
virtual
void
initialize
()
override
;
25
29
virtual
void
execute
()
override
;
30
31
protected
:
33
const
Point &
_p0
;
34
36
const
Point &
_normal
;
37
39
VectorPostprocessorValue
&
_elem_ids
;
40
};
ElementsAlongPlane::ElementsAlongPlane
ElementsAlongPlane(const InputParameters ¶meters)
Definition:
ElementsAlongPlane.C:29
ElementsAlongPlane::initialize
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
Definition:
ElementsAlongPlane.C:39
GeneralVectorPostprocessor
This class is here to combine the VectorPostprocessor interface and the base class VectorPostprocesso...
Definition:
GeneralVectorPostprocessor.h:21
ElementsAlongPlane::_elem_ids
VectorPostprocessorValue & _elem_ids
The elements that intersect the plane.
Definition:
ElementsAlongPlane.h:39
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:66
GeneralVectorPostprocessor.h
ElementsAlongPlane::_normal
const Point & _normal
Normal vector to the plane.
Definition:
ElementsAlongPlane.h:36
ElementsAlongPlane::validParams
static InputParameters validParams()
Definition:
ElementsAlongPlane.C:18
ElementsAlongPlane
Get all of the elements that are intersected by a plane.
Definition:
ElementsAlongPlane.h:17
ElementsAlongPlane::_p0
const Point & _p0
Point in the plane.
Definition:
ElementsAlongPlane.h:33
VectorPostprocessorValue
std::vector< Real > VectorPostprocessorValue
Definition:
MooseTypes.h:203
ElementsAlongPlane::execute
virtual void execute() override
Find the elements.
Definition:
ElementsAlongPlane.C:45
MooseBaseParameterInterface::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseBaseParameterInterface.h:62
Generated on Wed Jul 16 2025 13:56:08 for https://mooseframework.inl.gov by
1.8.14