PLaSK library
Loading...
Searching...
No Matches
plask::DataFromCyl2Dto3DSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > > Struct Template Reference

Don't use this directly, use DataFromCyl2Dto3DSource instead. More...

#include <plask/filters/change_space_size_cyl.hpp>

Inheritance diagram for plask::DataFromCyl2Dto3DSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >:
[legend]
Collaboration diagram for plask::DataFromCyl2Dto3DSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >:
[legend]

Classes

struct  LazySourceImpl
 

Public Types

typedef PropertyAt< PropertyT, Geometry3D >::ValueType ValueType
 Type of property value in output space.
 
typedef PropertyAt< PropertyT, Geometry2DCylindrical >::ValueType InputValueType
 Type of property value in input space.
 
typedef PropertyT::EnumType EnumType
 
- Public Types inherited from plask::InnerDataSource< PropertyT, Geometry3D, Geometry2DCylindrical, Geometry3D, Revolution >
typedef Primitive< OutputSpaceType::DIM >::Box OutBox
 
typedef Vec< OutputSpaceType::DIM, double > OutVec
 

Public Member Functions

void calcConnectionParameters () override
 This is called before request for data, but after setup inputObj, outputObj and path fields.
 
std::function< plask::optional< ValueType >(std::size_t index)> operator() (EnumType n, const shared_ptr< const MeshD< 3 > > &dst_mesh, ExtraArgs... extra_args, InterpolationMethod method) const override
 
size_t size () const override
 
- Public Member Functions inherited from plask::InnerDataSource< PropertyT, Geometry3D, Geometry2DCylindrical, Geometry3D, Revolution >
const Region * findRegion (const OutVec &p) const
 
const Region * findRegion (const OutVec &p, Predicate pred) const
 Find region that has p inside bounding-box and fulfill predicate pred.
 
std::size_t findRegionIndex (const OutVec &p) const
 
std::size_t findRegionIndex (const OutVec &p, Predicate pred) const
 
void calcConnectionParameters () override
 This is called before request for data, but after setup inputObj, outputObj and path fields.
 
- Public Member Functions inherited from plask::DataSourceWithReceiver< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj >
 DataSourceWithReceiver ()
 
 ~DataSourceWithReceiver ()
 
void disconnect ()
 
void setPath (const PathHints *path)
 
const PathHintsgetPath () const
 
void inOrOutWasChanged (GeometryObject::Event &e)
 
void connect (InputGeomObj &inputObj, OutputGeomObj &outputObj, const PathHints *path=nullptr)
 

Public Attributes

double r_sqr_begin
 
double r_sqr_end
 
- Public Attributes inherited from plask::InnerDataSource< PropertyT, Geometry3D, Geometry2DCylindrical, Geometry3D, Revolution >
std::vector< Region > regions
 
- Public Attributes inherited from plask::DataSourceWithReceiver< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj >
ReceiverFor< PropertyT, InputSpaceTypein
 

Additional Inherited Members

- Protected Attributes inherited from plask::DataSourceWithReceiver< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj >
const InputGeomObjinputObj
 
const OutputGeomObjoutputObj
 
plask::optional< PathHintspath
 
boost::signals2::connection geomConnectionIn
 
boost::signals2::connection geomConnectionOut
 

Detailed Description

template<typename PropertyT, typename... ExtraArgs>
struct plask::DataFromCyl2Dto3DSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >

Don't use this directly, use DataFromCyl2Dto3DSource instead.

Definition at line 185 of file change_space_size_cyl.hpp.

Member Typedef Documentation

◆ EnumType

template<typename PropertyT , typename... ExtraArgs>
typedef PropertyT::EnumType plask::DataFromCyl2Dto3DSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >::EnumType

Definition at line 197 of file change_space_size_cyl.hpp.

◆ InputValueType

Type of property value in input space.

Definition at line 195 of file change_space_size_cyl.hpp.

◆ ValueType

Type of property value in output space.

Definition at line 192 of file change_space_size_cyl.hpp.

Member Function Documentation

◆ calcConnectionParameters()

template<typename PropertyT , typename... ExtraArgs>
void plask::DataFromCyl2Dto3DSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >::calcConnectionParameters ( )
inlineoverridevirtual

This is called before request for data, but after setup inputObj, outputObj and path fields.

It can calculate trasnaltion and so needed for quick operator() calculation.

Implements plask::DataSourceWithReceiver< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj >.

Definition at line 242 of file change_space_size_cyl.hpp.

◆ operator()()

template<typename PropertyT , typename... ExtraArgs>
std::function< plask::optional< ValueType >(std::size_t index)> plask::DataFromCyl2Dto3DSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >::operator() ( EnumType  n,
const shared_ptr< const MeshD< 3 > > &  dst_mesh,
ExtraArgs...  extra_args,
InterpolationMethod  method 
) const
inlineoverride

Definition at line 254 of file change_space_size_cyl.hpp.

◆ size()

template<typename PropertyT , typename... ExtraArgs>
size_t plask::DataFromCyl2Dto3DSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >::size ( ) const
inlineoverride

Definition at line 258 of file change_space_size_cyl.hpp.

Member Data Documentation

◆ r_sqr_begin

template<typename PropertyT , typename... ExtraArgs>
double plask::DataFromCyl2Dto3DSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >::r_sqr_begin

Definition at line 199 of file change_space_size_cyl.hpp.

◆ r_sqr_end

Definition at line 199 of file change_space_size_cyl.hpp.


The documentation for this struct was generated from the following file: