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