https://mooseframework.inl.gov
Loading...
Searching...
No Matches
InputMatrixSampler.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 "Sampler.h"
13
18{
19public:
21
23
27 void executeSetUp() override;
28
29protected:
31 virtual Real computeSample(dof_id_type row_index, dof_id_type col_index) override;
32
33private:
35 const RealEigenMatrix & _data;
36};
A class used to construct a sampling matrix from input.
void executeSetUp() override
Update number of rows if the controllable parameter has changed.
virtual Real computeSample(dof_id_type row_index, dof_id_type col_index) override
Return the sample for the given row and column.
static InputParameters validParams()
const RealEigenMatrix & _data
Data read from input.
const InputParameters & parameters() const