https://mooseframework.inl.gov
stochastic_tools
include
samplers
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
17
class
InputMatrixSampler
:
public
Sampler
18
{
19
public
:
20
static
InputParameters
validParams
();
21
22
InputMatrixSampler
(
const
InputParameters
&
parameters
);
23
24
protected
:
26
virtual
Real
computeSample
(
dof_id_type
row_index,
dof_id_type
col_index)
override
;
27
28
private
:
30
const
RealEigenMatrix
&
_data
;
31
};
Sampler
InputMatrixSampler::validParams
static InputParameters validParams()
Definition:
InputMatrixSampler.C:15
InputMatrixSampler::_data
const RealEigenMatrix & _data
Data read from input.
Definition:
InputMatrixSampler.h:30
InputMatrixSampler::computeSample
virtual Real computeSample(dof_id_type row_index, dof_id_type col_index) override
Return the sample for the given row and column.
Definition:
InputMatrixSampler.C:31
InputParameters
Sampler.h
RealEigenMatrix
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic > RealEigenMatrix
InputMatrixSampler
A class used to construct a sampling matrix from input.
Definition:
InputMatrixSampler.h:17
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Sampler::parameters
const InputParameters & parameters() const
InputMatrixSampler::InputMatrixSampler
InputMatrixSampler(const InputParameters ¶meters)
Definition:
InputMatrixSampler.C:23
dof_id_type
uint8_t dof_id_type
Generated on Fri Jul 18 2025 13:43:50 for https://mooseframework.inl.gov by
1.8.14