|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
datacollector.hh
Go to the documentation of this file.
int size() const
iterator end()
const IndexPair * pair(const std::size_t &local) const
iterator(ParallelIndexSet< TG, TL, N > &indexSet, const Father &father)
STL namespace.
const GridEntityAccess< Entity >::GridEntityType & gridEntity(const Entity &entity)
Definition gridpart.hh:510
void resize(size_type n, value_type c=value_type())
void write(const T &val)
void read(T &val)
Traits class for a DiscreteFunction.
Definition common/discretefunction.hh:61
Definition objpointer.hh:42
void saveObjPointer(DiscrOpType *discrOp)
Store new generated DiscreteOperator Pointer.
Definition objpointer.hh:58
Definition dofmanager.hh:786
Definition datacollector.hh:232
CombinedLocalDataCollect< LocalOp, B > & operator+(const B &b)
Definition datacollector.hh:243
Definition datacollector.hh:52
Definition datacollector.hh:59
void apply(Arg1 &arg1, Arg2 &arg2) const
Definition datacollector.hh:74
CombinedLocalDataCollect(const A &a, const B &b)
Definition datacollector.hh:64
Definition datacollector.hh:83
static void copyList(ListType &vec, const MyType &op)
Definition datacollector.hh:130
LocalInterface(const MyType &op)
Definition datacollector.hh:155
void apply(ParamType &p) const
for all pointer to local operators call the func pointer
Definition datacollector.hh:163
LocalInterface(const OpType &op)
Definition datacollector.hh:150
ObjectStreamExtractor< ParamT >::ObjectStreamType ObjectStreamType
Definition datacollector.hh:103
std::pair< MyType *, FuncType * > PairType
Definition datacollector.hh:108
MyType & operator=(const OpType &op)
Definition datacollector.hh:218
MyType & operator+=(const OpType &op)
Definition datacollector.hh:190
MyType & operator+(const OpType &op)
Definition datacollector.hh:177
void FuncType(MyType &, ParamType &p)
Definition datacollector.hh:107
Definition datacollector.hh:87
Definition datacollector.hh:93
PT ObjectStreamType
Definition datacollector.hh:94
T1 ObjectStreamType
Definition datacollector.hh:100
Definition datacollector.hh:113
static void applyWrapper(MyType &m, ParamType &p)
applyWrapper knows the real type of Op
Definition datacollector.hh:115
static void addToList(ListType &vec, const OpType &op)
Definition datacollector.hh:122
Definition datacollector.hh:237
LocalInterface< ParamType > LocalInterfaceType
Definition datacollector.hh:239
Definition datacollector.hh:262
DataCollectorInterface< GridType, ObjectStreamImp > MyType
Definition datacollector.hh:269
std::pair< ObjectStreamType *, const EntityType * > DataCollectorParamType
Definition datacollector.hh:270
MyType & operator=(const OpType &dc)
Assignement operator.
Definition datacollector.hh:360
virtual void clear()
clear object list
Definition datacollector.hh:378
GridType::template Codim< 0 >::Entity EntityType
Definition datacollector.hh:267
MyType & operator+=(const OpType &dc)
Assignement operator.
Definition datacollector.hh:324
virtual LocalInterfaceType & getLocalInterfaceOp()
Definition datacollector.hh:310
LocalInterface< DataCollectorParamType > LocalInterfaceType
Definition datacollector.hh:273
virtual const LocalInterfaceType & getLocalInterfaceOp() const
Definition datacollector.hh:298
virtual ~DataCollectorInterface()
Virtual desctructor.
Definition datacollector.hh:284
ObjectStreamImp ObjectStreamType
Definition datacollector.hh:264
virtual void apply(ObjectStreamType &str, const EntityType &entity) const
Definition datacollector.hh:289
DataCollectorInterface()
empty constructor
Definition datacollector.hh:281
Definition datacollector.hh:276
LocalInterface< DataCollectorParamType > LocalInterfaceType
Definition datacollector.hh:277
MyType & operator+=(const OpType &dc)
Assignement operator.
Definition datacollector.hh:408
MyType & operator=(const OpType &dc)
Assignement operator.
Definition datacollector.hh:415
std::pair< int *, int * > DataCollectorParamType
Definition datacollector.hh:396
LocalInterface< DataCollectorParamType > LocalInterfaceType
Definition datacollector.hh:397
The DataCollector is an example for a grid walk done while load balancing moves entities from one pro...
Definition datacollector.hh:435
const LocalDataCollectImp & getLocalOp() const
return reference to loacl Operator
Definition datacollector.hh:528
void apply(ObjectStreamType &str, const EntityType &entity) const
Definition datacollector.hh:556
DofManager< GridType > DofManagerType
Definition datacollector.hh:445
DataCollector(GridType &grid, DofManagerType &dm, LocalDataCollectImp &ldc, const ReadWriteType rwType, int numChildren=8)
create DiscreteOperator with a LocalOperator
Definition datacollector.hh:455
const LocalInterfaceType & getLocalInterfaceOp() const
Definition datacollector.hh:539
std::pair< ObjectStreamType *, const EntityType * > ParamType
Definition datacollector.hh:447
LocalInterface< ParamType > LocalInterfaceType
Definition datacollector.hh:448
DataCollectorTraits::ReadWriteType ReadWriteType
Definition datacollector.hh:442
DataCollectorInterface< GridType, ObjectStreamType > BaseType
Definition datacollector.hh:441
void inlineData(ObjectStreamType &str, const EntityType &entity) const
write all data of all entities blowe this Entity to the stream
Definition datacollector.hh:564
void xtractData(ObjectStreamType &str, const EntityType &entity) const
read all data of all entities blowe this Entity from the stream
Definition datacollector.hh:585
LocalInterfaceType & getLocalInterfaceOp()
Definition datacollector.hh:545
bool writeData() const
return true if data collector is writing data instead of reading
Definition datacollector.hh:552
virtual ~DataCollector()
Desctructor.
Definition datacollector.hh:466
DataCollectorInterface< GridType, ObjectStreamType > DataCollectorInterfaceType
Definition datacollector.hh:451
GridType::template Codim< 0 >::Entity EntityType
Definition datacollector.hh:438
LocalDataCollectImp::ObjectStreamType ObjectStreamType
Definition datacollector.hh:437
DataCollector< GridType, CombinedLocalDataCollect< LocalDataCollectImp, LocalDataCollectType > > & operator+(const DataCollector< GridType, LocalDataCollectType > &op)
operator + (combine this operator) and return new Object
Definition datacollector.hh:472
DataCollector< GridType, LocalInterface< ParamType > > & operator+=(const DataCollector< GridType, LocalDataCollectType > &op)
oeprator += combine and return this Object
Definition datacollector.hh:492
LocalDataCollectImp & getLocalOp()
return reference to loacl Operator
Definition datacollector.hh:534
DataCollector< EntityType, LocalDataCollectImp > MyType
Definition datacollector.hh:444
Definition datacollector.hh:662
LocalInterface< ParamType > LocalInterfaceType
Definition datacollector.hh:673
DiscreteFunctionSpaceType::GridType GridType
Definition datacollector.hh:665
DiscreteFunctionType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
Definition datacollector.hh:664
DofManager< GridType > DofManagerType
Definition datacollector.hh:669
std::pair< ObjectStreamType *, const GridEntityType * > ParamType
Definition datacollector.hh:672
DofManagerType::InlineStreamType ObjectStreamType
Definition datacollector.hh:670
DiscreteFunctionSpaceType::EntityType EntityType
Definition datacollector.hh:666
GridType::template Codim< 0 >::Entity GridEntityType
Definition datacollector.hh:667
Inline DiscreteFunction data during load balancing.
Definition datacollector.hh:683
LocalDataInliner(const DiscreteFunctionType &df, const ContainsCheck &containsCheck)
constructor
Definition datacollector.hh:702
Traits::GridEntityType GridEntityType
Definition datacollector.hh:691
Dune::DynamicVector< DofType > LocalDofVectorType
Definition datacollector.hh:699
LocalInterface< ParamType > LocalInterfaceType
Definition datacollector.hh:694
LocalDataInliner(const LocalDataInliner &other)
copy constructor
Definition datacollector.hh:711
const ContainsCheck containsCheck_
Definition datacollector.hh:747
void apply(ParamType &p) const
store data to stream
Definition datacollector.hh:719
DataCollectorTraits::ReadWriteType readWriteInfo() const
Definition datacollector.hh:727
LocalDataInlinerTraits< DiscreteFunctionType > Traits
Definition datacollector.hh:685
Traits::ObjectStreamType ObjectStreamType
Definition datacollector.hh:686
void inlineData(ObjectStreamType &str, const EntityType &entity, const GridEntityType &gridEntity) const
store data to stream
Definition datacollector.hh:730
Traits::DofManagerType DofManagerType
Definition datacollector.hh:688
DiscreteFunctionTraits< DiscreteFunctionType >::DofType DofType
Definition datacollector.hh:696
Definition datacollector.hh:754
DiscreteFunctionSpaceType::GridType GridType
Definition datacollector.hh:757
GridType::template Codim< 0 >::Entity GridEntityType
Definition datacollector.hh:759
DofManagerType::XtractStreamType ObjectStreamType
Definition datacollector.hh:762
std::pair< ObjectStreamType *, const GridEntityType * > ParamType
Definition datacollector.hh:764
DofManager< GridType > DofManagerType
Definition datacollector.hh:761
DiscreteFunctionType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
Definition datacollector.hh:756
DiscreteFunctionSpaceType::EntityType EntityType
Definition datacollector.hh:758
LocalInterface< ParamType > LocalInterfaceType
Definition datacollector.hh:765
Inline DiscreteFunction data during load balancing.
Definition datacollector.hh:775
const ContainsCheck containsCheck_
Definition datacollector.hh:840
Traits::ObjectStreamType ObjectStreamType
Definition datacollector.hh:778
LocalDataXtractorTraits< DiscreteFunctionType > Traits
Definition datacollector.hh:777
Traits::EntityType EntityType
Definition datacollector.hh:782
LocalDataXtractor(const LocalDataXtractor &other)
copy constructor
Definition datacollector.hh:803
Dune::DynamicVector< DofType > LocalDofVectorType
Definition datacollector.hh:791
LocalDataXtractor(DiscreteFunctionType &df, const ContainsCheck &containsCheck)
constructor
Definition datacollector.hh:794
Traits::DofManagerType DofManagerType
Definition datacollector.hh:780
DiscreteFunctionTraits< DiscreteFunctionType >::DofType DofType
Definition datacollector.hh:788
DataCollectorTraits::ReadWriteType readWriteInfo() const
Definition datacollector.hh:819
Traits::GridEntityType GridEntityType
Definition datacollector.hh:783
void apply(ParamType &p) const
store data to stream
Definition datacollector.hh:811
Traits::LocalInterfaceType LocalInterfaceType
Definition datacollector.hh:786
void xtractData(ObjectStreamType &str, const EntityType &entity, const GridEntityType &gridEntity) const
store data to stream
Definition datacollector.hh:822
T begin(T... args)
T end(T... args)
T erase(T... args)
T forward(T... args)
T push_back(T... args)
T resize(T... args)
T size(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8