ESyS-Particle
2.3.4
pi_storage_eb.h
Go to the documentation of this file.
1
// //
3
// Copyright (c) 2003-2017 by The University of Queensland //
4
// Centre for Geoscience Computing //
5
// http://earth.uq.edu.au/centre-geoscience-computing //
6
// //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.apache.org/licenses/LICENSE-2.0 //
10
// //
12
13
#ifndef __PARALLEL_INTERACTION_STORAGE_EB_H
14
#define __PARALLEL_INTERACTION_STORAGE_EB_H
15
16
//--- project includes ---
17
#include "
pis/pi_storage_e.h
"
18
19
//--- STL includes ---
20
#include <vector>
21
22
//--- IO includes ---
23
28
template
<
typename
P,
typename
I>
29
class
ParallelInteractionStorage_EB
:
public
ParallelInteractionStorage_E
<P,I>
30
{
31
public
:
32
// typedef I ParallelInteractionStorage_EB::interaction_type;
33
typedef
ParallelInteractionStorage_E<P,I>
Inherited
;
34
typedef
typename
Inherited::InteractionIterator
InteractionIterator
;
35
bool
m_unbreakable
;
36
37
public
:
38
ParallelInteractionStorage_EB
(
AParallelParticleArray
*,
const
typename
I::ParameterType&);
39
40
virtual
bool
update
();
41
void
setUnbreakable
(
bool
);
42
virtual
void
calcHeatTrans
();
43
virtual
void
saveCheckPointData
(std::ostream &oStream);
44
virtual
void
loadCheckPointData
(std::istream &iStream);
45
virtual
void
saveSnapShotData
(std::ostream&);
46
};
47
48
#include "
pis/pi_storage_eb.hpp
"
49
50
#endif // __PARALLEL_INTERACTION_STORAGE_EB_H
ParallelInteractionStorage_EB::ParallelInteractionStorage_EB
ParallelInteractionStorage_EB(AParallelParticleArray *, const typename I::ParameterType &)
Definition:
pi_storage_eb.hpp:14
ParallelInteractionStorage_EB::update
virtual bool update()
Definition:
pi_storage_eb.hpp:23
pi_storage_eb.hpp
ParallelInteractionStorage_EB::calcHeatTrans
virtual void calcHeatTrans()
Definition:
pi_storage_eb.hpp:147
ParallelInteractionStorage_EB::saveSnapShotData
virtual void saveSnapShotData(std::ostream &)
Definition:
pi_storage_eb.hpp:55
ParallelInteractionStorage_E
parallel interaction storage array with exchange
Definition:
pi_storage_e.h:37
ParallelInteractionStorage_EB
parallel storage array with exchange for bonded/breakable interactions
Definition:
pi_storage_eb.h:30
AParallelParticleArray
abstract base class for parallel particle storage array
Definition:
pp_array.h:42
ParallelInteractionStorage_EB::loadCheckPointData
virtual void loadCheckPointData(std::istream &iStream)
Definition:
pi_storage_eb.hpp:107
ParallelInteractionStorage_EB::saveCheckPointData
virtual void saveCheckPointData(std::ostream &oStream)
Definition:
pi_storage_eb.hpp:79
pi_storage_e.h
ParallelInteractionStorage_EB::InteractionIterator
Inherited::InteractionIterator InteractionIterator
Definition:
pi_storage_eb.h:34
ParallelInteractionStorage_EB::Inherited
ParallelInteractionStorage_E< P, I > Inherited
Definition:
pi_storage_eb.h:33
ParallelInteractionStorage_EB::m_unbreakable
bool m_unbreakable
Definition:
pi_storage_eb.h:35
ParallelInteractionStorage_EB::setUnbreakable
void setUnbreakable(bool)
Definition:
pi_storage_eb.hpp:168
TParallelInteractionStorage::InteractionIterator
Definition:
pi_storage.h:102
pis
pi_storage_eb.h
Generated by
1.8.20