Panzer
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
disc-fe
src
Panzer_ScalarParameterEntry.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Panzer: A partial differential equation assembly
4
// engine for strongly coupled complex multiphysics systems
5
//
6
// Copyright 2011 NTESS and the Panzer contributors.
7
// SPDX-License-Identifier: BSD-3-Clause
8
// *****************************************************************************
9
// @HEADER
10
11
#ifndef PANZER_SCALAR_PARAMETER_ENTRY_HPP
12
#define PANZER_SCALAR_PARAMETER_ENTRY_HPP
13
14
#include "
Panzer_Traits.hpp
"
15
#include "Sacado_ScalarParameterEntry.hpp"
16
#include "
Panzer_EvaluationTraits.hpp
"
17
18
namespace
panzer {
19
20
template
<
typename
EvalType>
21
class
ScalarParameterEntry :
public
Sacado::ScalarParameterEntry<EvalType,panzer::EvaluationTraits> {
22
23
public
:
24
25
typedef
typename
Sacado::ScalarParameterEntry<EvalType,panzer::EvaluationTraits>::ScalarT
ScalarT
;
26
27
void
setRealValue
(
double
value)
28
{
29
m_parameter
=
ScalarT
(value);
30
}
31
32
void
setValue
(
const
ScalarT
& value)
33
{
34
m_parameter
= value;
35
}
36
37
const
ScalarT
&
getValue
()
const
38
{
39
return
m_parameter
;
40
}
41
42
private
:
43
44
ScalarT
m_parameter
;
45
46
};
47
48
}
49
50
#endif
panzer::ScalarParameterEntry::ScalarT
Sacado::ScalarParameterEntry< EvalType, panzer::EvaluationTraits >::ScalarT ScalarT
Definition:
Panzer_ScalarParameterEntry.hpp:25
panzer::ScalarParameterEntry::setRealValue
void setRealValue(double value)
Definition:
Panzer_ScalarParameterEntry.hpp:27
panzer::ScalarParameterEntry::m_parameter
ScalarT m_parameter
Definition:
Panzer_ScalarParameterEntry.hpp:44
Panzer_Traits.hpp
Panzer_EvaluationTraits.hpp
panzer::ScalarParameterEntry::getValue
const ScalarT & getValue() const
Definition:
Panzer_ScalarParameterEntry.hpp:37
panzer::ScalarParameterEntry::setValue
void setValue(const ScalarT &value)
Definition:
Panzer_ScalarParameterEntry.hpp:32
Generated on Thu Nov 21 2024 09:17:09 for Panzer by
1.8.5