https://mooseframework.inl.gov
Sampler1DVector.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 "Sampler1DBase.h"
13 
17 class Sampler1DVector : public Sampler1DBase<std::vector<Real>>
18 {
19 public:
21 
22  virtual Real getScalarFromProperty(const std::vector<Real> & property,
23  const Point & curr_point) override;
24 
25 protected:
27  const unsigned int _index;
28 
29 public:
31 };
This is a base class for sampling material properties for the integration points in all elements in a...
Definition: Sampler1DBase.h:35
This class samples a component of a vector material property in a 1-D mesh.
Sampler1DVector(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const InputParameters & parameters() const
virtual Real getScalarFromProperty(const std::vector< Real > &property, const Point &curr_point) override
Reduce the material property to a scalar for output.
const unsigned int _index
index of the component of the vector-valued material property