https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Sampler1DReal.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
13#include "SamplerBase.h"
14#include "BlockRestrictable.h"
15#include "Assembly.h"
16#include "MooseMesh.h"
17#include "SwapBackSentinel.h"
18#include "FEProblem.h"
19#include "libmesh/quadrature.h"
20
21class MooseMesh;
22
26template <bool is_ad>
28 public SamplerBase,
30{
31public:
38
39 virtual void initialize() override;
40 virtual void execute() override;
41 virtual void finalize() override;
42
43protected:
45 std::vector<const GenericMaterialProperty<Real, is_ad> *> _material_properties;
46
49
51 const QBase * const & _qrule;
52
55
56public:
58};
59
Sampler1DRealTempl< true > ADSampler1DReal
Sampler1DRealTempl< false > Sampler1DReal
const InputParameters & parameters() const
Samples material properties at all quadrature points in mesh block(s)
const QBase *const & _qrule
The quadrature rule.
virtual void execute() override
static InputParameters validParams()
std::vector< const GenericMaterialProperty< Real, is_ad > * > _material_properties
The material properties to be output.
const MooseArray< Point > & _q_point
The quadrature points.
virtual void finalize() override
MooseMesh & _mesh
The mesh.
virtual void initialize() override