PLaSK library
|
Return same value in all points. More...
#include <plask/provider/providerfor.hpp>
Public Types | |
typedef ProviderImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceT, VariadicTemplateTypesHolder< _ExtraParams... > >::ProvidedType | ProvidedType |
Public Types inherited from plask::ProviderFor< PropertyT, SpaceT > | |
typedef PropertyT | PropertyTag |
typedef SpaceT | SpaceType |
Public Member Functions | |
ConstProviderType (const ValueType &value) | |
Constructor with single value. | |
ConstProviderType (ValueType &&value) | |
Constructor with single value. | |
ConstProviderType (const std::initializer_list< ValueType > &values) | |
Constructor with multiple values. | |
template<typename Iterator > | |
ConstProviderType (const Iterator &begin, const Iterator &end) | |
Construct values from iterator. | |
ProvidedType | operator() (EnumType num, shared_ptr< const MeshD< SpaceT::DIM > > dst_mesh, _ExtraParams..., InterpolationMethod) const override |
size_t | size () const override |
Public Member Functions inherited from plask::ProviderFor< PropertyT, SpaceT > | |
ProviderFor (Args &&... params) | |
Delegate all constructors to parent class. | |
Public Attributes | |
std::vector< ValueType > | values |
Provided value. | |
Return same value in all points.
Used by receivers as const value provider, see Receiver::setConstValue
It ignores extra parameters.
Definition at line 1618 of file providerfor.hpp.
typedef ProviderImpl<PropertyT,MULTI_FIELD_PROPERTY,SpaceT,VariadicTemplateTypesHolder<_ExtraParams...>>::ProvidedType plask::ProviderImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceT, VariadicTemplateTypesHolder< _ExtraParams... > >::ConstProviderType::ProvidedType |
Definition at line 1620 of file providerfor.hpp.
|
inline |
Constructor with single value.
value | ValueT desired value |
Definition at line 1636 of file providerfor.hpp.
|
inline |
Constructor with single value.
value | ValueT desired value |
Definition at line 1642 of file providerfor.hpp.
|
inline |
Constructor with multiple values.
values | required values |
Definition at line 1648 of file providerfor.hpp.
|
inlineexplicit |
Construct values from iterator.
begin,end | iterator range |
Definition at line 1655 of file providerfor.hpp.
|
inlineoverride |
Definition at line 1660 of file providerfor.hpp.
|
inlineoverride |
Definition at line 1665 of file providerfor.hpp.
std::vector<ValueType> plask::ProviderImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceT, VariadicTemplateTypesHolder< _ExtraParams... > >::ConstProviderType::values |
Provided value.
Definition at line 1623 of file providerfor.hpp.