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
14
// Forward Declarations
15
class
ElementsAlongLine
;
16
17
template
<>
18
InputParameters
validParams<ElementsAlongLine>
();
19
23
class
ElementsAlongLine
:
public
GeneralVectorPostprocessor
24
{
25
public
:
26
static
InputParameters
validParams
();
27
28
ElementsAlongLine
(
const
InputParameters
&
parameters
);
29
30
virtual
void
initialize
()
override
;
31
35
virtual
void
execute
()
override
;
36
37
protected
:
39
Point
_start
;
40
42
Point
_end
;
43
45
VectorPostprocessorValue
&
_elem_ids
;
46
};
47
ElementsAlongLine::_start
Point _start
The beginning of the line.
Definition:
ElementsAlongLine.h:39
GeneralVectorPostprocessor.h
ElementsAlongLine::ElementsAlongLine
ElementsAlongLine(const InputParameters ¶meters)
Definition:
ElementsAlongLine.C:32
MooseObject::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseObject.h:76
validParams< ElementsAlongLine >
InputParameters validParams< ElementsAlongLine >()
ElementsAlongLine
Get all of the elements that are intersected by a line.
Definition:
ElementsAlongLine.h:23
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition:
InputParameters.h:53
ElementsAlongLine::_end
Point _end
The end of the line.
Definition:
ElementsAlongLine.h:42
ElementsAlongLine::initialize
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
Definition:
ElementsAlongLine.C:42
VectorPostprocessorValue
std::vector< Real > VectorPostprocessorValue
Definition:
MooseTypes.h:190
ElementsAlongLine::_elem_ids
VectorPostprocessorValue & _elem_ids
The elements that intersect the line.
Definition:
ElementsAlongLine.h:45
ElementsAlongLine::validParams
static InputParameters validParams()
Definition:
ElementsAlongLine.C:22
ElementsAlongLine::execute
virtual void execute() override
Find the elements.
Definition:
ElementsAlongLine.C:48
GeneralVectorPostprocessor
This class is here to combine the VectorPostprocessor interface and the base class VectorPostprocesso...
Definition:
GeneralVectorPostprocessor.h:27
Generated on Sat Jan 25 2020 11:56:05 for www.mooseframework.org by
1.8.16