https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
17class Sampler1DVector : public Sampler1DBase<std::vector<Real>>
18{
19public:
21
22 virtual Real getScalarFromProperty(const std::vector<Real> & property,
23 const Point & curr_point) override;
24
25protected:
27 const unsigned int _index;
28
29public:
31};
const InputParameters & parameters() const
This is a base class for sampling material properties for the integration points in all elements in a...
This class samples a component of a vector material property in a 1-D mesh.
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
static InputParameters validParams()