www.mooseframework.org
include
vectorpostprocessors
ElementsAlongLine.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://www.mooseframework.org
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
};
ElementsAlongLine::ElementsAlongLine
ElementsAlongLine(const InputParameters ¶meters)
Definition:
ElementsAlongLine.C:30
ElementsAlongLine::_start
Point _start
The beginning of the line.
Definition:
ElementsAlongLine.h:33
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:63
GeneralVectorPostprocessor.h
ElementsAlongLine::_end
Point _end
The end of the line.
Definition:
ElementsAlongLine.h:36
ElementsAlongLine::initialize
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
Definition:
ElementsAlongLine.C:40
VectorPostprocessorValue
std::vector< Real > VectorPostprocessorValue
Definition:
MooseTypes.h:192
ElementsAlongLine::execute
virtual void execute() override
Find the elements.
Definition:
ElementsAlongLine.C:46
ElementsAlongLine::validParams
static InputParameters validParams()
Definition:
ElementsAlongLine.C:20
MooseBaseParameterInterface::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseBaseParameterInterface.h:62
ElementsAlongLine::_elem_ids
VectorPostprocessorValue & _elem_ids
The elements that intersect the line.
Definition:
ElementsAlongLine.h:39
ElementsAlongLine
Get all of the elements that are intersected by a line.
Definition:
ElementsAlongLine.h:17
Generated on Thu Apr 18 2024 15:23:11 for www.mooseframework.org by
1.8.14