ESyS-Particle
2.3.4
pi_storage_single.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_SINGLE_H
14
#define __PARALLEL_INTERACTION_STORAGE_SINGLE_H
15
16
#include "
pis/pi_storage.h
"
17
#include <vector>
18
19
//--- IO includes ---
20
25
template
<
typename
P,
typename
I>
26
class
ParallelInteractionStorage_Single
:
public
TParallelInteractionStorage
<I>
27
{
28
protected
:
29
typename
I::ParameterType
m_param
;
30
31
public
:
32
ParallelInteractionStorage_Single
(
AParallelParticleArray
*,
const
typename
I::ParameterType&);
33
34
virtual
void
addExIG
(
AParallelInteractionStorage
*){};
// do nothing
35
virtual
bool
update
();
36
virtual
void
exchange
(){};
37
virtual
void
rebuild
(){};
38
virtual
void
tryInsert
(
const
vector<int>&){};
39
virtual
bool
isIn
(
const
vector<int>&){
return
true
;};
40
virtual
void
calcForces
();
41
virtual
void
setTimeStepSize
(
double
dt);
42
};
43
44
#include "
pi_storage_single.hpp
"
45
46
#endif //__PARALLEL_INTERACTION_STORAGE_SINGLE_H
pi_storage_single.hpp
ParallelInteractionStorage_Single::setTimeStepSize
virtual void setTimeStepSize(double dt)
Definition:
pi_storage_single.hpp:65
ParallelInteractionStorage_Single::addExIG
virtual void addExIG(AParallelInteractionStorage *)
Definition:
pi_storage_single.h:34
pi_storage.h
ParallelInteractionStorage_Single::rebuild
virtual void rebuild()
do nothing
Definition:
pi_storage_single.h:37
ParallelInteractionStorage_Single::isIn
virtual bool isIn(const vector< int > &)
do nothing
Definition:
pi_storage_single.h:39
AParallelInteractionStorage
abstract base class for parallel interaction storage array
Definition:
pi_storage.h:45
AParallelParticleArray
abstract base class for parallel particle storage array
Definition:
pp_array.h:42
ParallelInteractionStorage_Single::update
virtual bool update()
Definition:
pi_storage_single.hpp:22
TParallelInteractionStorage
templated abstract base class for parallel interaction storage array. Adds the vector of interactions...
Definition:
pi_storage.h:91
ParallelInteractionStorage_Single::tryInsert
virtual void tryInsert(const vector< int > &)
do nothing
Definition:
pi_storage_single.h:38
ParallelInteractionStorage_Single::calcForces
virtual void calcForces()
Definition:
pi_storage_single.hpp:47
ParallelInteractionStorage_Single::ParallelInteractionStorage_Single
ParallelInteractionStorage_Single(AParallelParticleArray *, const typename I::ParameterType &)
Definition:
pi_storage_single.hpp:16
ParallelInteractionStorage_Single::exchange
virtual void exchange()
Definition:
pi_storage_single.h:36
ParallelInteractionStorage_Single::m_param
I::ParameterType m_param
Definition:
pi_storage_single.h:29
ParallelInteractionStorage_Single
parallel storage array without exchange for dynamically created single particle interactions (i....
Definition:
pi_storage_single.h:27
pis
pi_storage_single.h
Generated by
1.8.20