https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
vectorpostprocessors
ElementsAlongLine.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
ElementsAlongLine
:
public
GeneralVectorPostprocessor
18
{
19
public
:
20
static
InputParameters
validParams
();
21
22
ElementsAlongLine
(
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
&
_elem_ids
;
40
};
GeneralVectorPostprocessor.h
VectorPostprocessorValue
std::vector< Real > VectorPostprocessorValue
Definition
MooseTypes.h:231
ElementsAlongLine
Get all of the elements that are intersected by a line.
Definition
ElementsAlongLine.h:18
ElementsAlongLine::initialize
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
Definition
ElementsAlongLine.C:40
ElementsAlongLine::_elem_ids
VectorPostprocessorValue & _elem_ids
The elements that intersect the line.
Definition
ElementsAlongLine.h:39
ElementsAlongLine::validParams
static InputParameters validParams()
Definition
ElementsAlongLine.C:20
ElementsAlongLine::_start
Point _start
The beginning of the line.
Definition
ElementsAlongLine.h:33
ElementsAlongLine::execute
virtual void execute() override
Find the elements.
Definition
ElementsAlongLine.C:46
ElementsAlongLine::_end
Point _end
The end of the line.
Definition
ElementsAlongLine.h:36
GeneralVectorPostprocessor
This class is here to combine the VectorPostprocessor interface and the base class VectorPostprocesso...
Definition
GeneralVectorPostprocessor.h:22
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition
InputParameters.h:68
MooseBase::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition
MooseBase.h:131
Generated on Mon Aug 24 2026 19:02:06 for https://mooseframework.inl.gov by
1.9.8