PLaSK library
|
#include <plask/provider/scaled_provider.hpp>
Public Types | |
typedef ProviderFor< DstPropertyT, SpaceT >::ProvidedType | ProvidedType |
Public Types inherited from plask::ScaledProviderBase< ProviderFor< DstPropertyT, SpaceT >, ProviderFor< SrcPropertyT, SpaceT >, ScaleT > | |
typedef ProviderFor< SrcPropertyT, SpaceT > | SourceType |
typedef ProviderFor< DstPropertyT, SpaceT > | DestinationType |
typedef ScaleT | ScaleType |
Public Types inherited from plask::ProviderFor< DstPropertyT, SpaceT > | |
typedef DstPropertyT | PropertyTag |
typedef SpaceT | SpaceType |
Public Member Functions | |
ScaledFieldProviderImpl (double scale=1.) | |
ProvidedType | operator() (size_t n, shared_ptr< const MeshD< SpaceT::DIM > > dst_mesh, ExtraArgs... extra_args, InterpolationMethod method=INTERPOLATION_DEFAULT) const override |
size_t | size () const override |
Public Member Functions inherited from plask::ScaledProviderBase< ProviderFor< DstPropertyT, SpaceT >, ProviderFor< SrcPropertyT, SpaceT >, ScaleT > | |
ScaledProviderBase (ScaleT scale=1.) | |
Create the provider. | |
void | set (ProviderFor< SrcPropertyT, SpaceT > *src, bool prv=false) |
Set source provider. | |
void | set (std::unique_ptr< ProviderFor< SrcPropertyT, SpaceT > > &&src) |
Set source provider. | |
void | reset () |
Reset source provider. | |
ProviderFor< SrcPropertyT, SpaceT > * | getSource () const |
Obtain source provider. | |
~ScaledProviderBase () | |
void | ensureHasProvider () const |
Throw exception if the providers set of this is empty. | |
Public Member Functions inherited from plask::ProviderFor< DstPropertyT, SpaceT > | |
ProviderFor (Args &&... params) | |
Delegate all constructors to parent class. | |
Additional Inherited Members | |
Public Attributes inherited from plask::ScaledProviderBase< ProviderFor< DstPropertyT, SpaceT >, ProviderFor< SrcPropertyT, SpaceT >, ScaleT > | |
ScaleT | scale |
Scale for the provider value. | |
Protected Attributes inherited from plask::ScaledProviderBase< ProviderFor< DstPropertyT, SpaceT >, ProviderFor< SrcPropertyT, SpaceT >, ScaleT > | |
ProviderFor< SrcPropertyT, SpaceT > * | source |
Source provider. | |
Definition at line 136 of file scaled_provider.hpp.
typedef ProviderFor<DstPropertyT,SpaceT>::ProvidedType plask::ScaledFieldProviderImpl< DstPropertyT, SrcPropertyT, MULTI_FIELD_PROPERTY, SpaceT, ScaleT, VariadicTemplateTypesHolder< ExtraArgs... > >::ProvidedType |
Definition at line 141 of file scaled_provider.hpp.
|
inline |
Definition at line 139 of file scaled_provider.hpp.
|
inlineoverride |
Definition at line 143 of file scaled_provider.hpp.
|
inlineoverride |
Definition at line 148 of file scaled_provider.hpp.