OpenLB 1.7
|
#include <superStructure.h>
Public Types | |
using | value_t = T |
Public Member Functions | |
virtual | ~SuperStructure () |
Virtual Destructor for inheritance. | |
SuperStructure (CuboidGeometry< T, D > &cuboidGeometry, LoadBalancer< T > &loadBalancer, int overlap=2) | |
Construction of a super structure. | |
SuperStructure (int overlap=1) | |
Default Constructor for empty SuperStructure. | |
CuboidGeometry< T, D > & | getCuboidGeometry () |
Read and write access to cuboid geometry. | |
CuboidGeometry< T, D > const & | getCuboidGeometry () const |
Read only access to cuboid geometry. | |
int | getOverlap () |
Read and write access to the overlap. | |
int | getOverlap () const |
Read only access to the overlap. | |
LoadBalancer< T > & | getLoadBalancer () |
Read and write access to the load balancer. | |
LoadBalancer< T > const & | getLoadBalancer () const |
Read only access to the load balancer. | |
virtual void | communicate () |
template<typename F > | |
void | forCorePhysLocations (F f) const |
Iterate over discrete physical locations. | |
template<typename F > | |
void | forCorePhysLocations (PhysR< T, D > min, PhysR< T, D > max, F f) const |
Iterate over discrete physical locations between min and max. | |
template<typename F > | |
void | forCoreSpatialLocations (F f) const |
Iterate over spatial locations NOTE: Based on physical locations (as opposed to its blockStructure version) | |
template<typename F > | |
void | forCoreSpatialLocations (PhysR< T, D > min, PhysR< T, D > max, F f) const |
Iterate over spatial locations between min and max NOTE: Based on physical locations (as opposed to its blockStructure version) | |
Protected Attributes | |
CuboidGeometry< T, D > & | _cuboidGeometry |
The grid structure is stored here. | |
LoadBalancer< T > & | _loadBalancer |
Distribution of the cuboids of the cuboid structure. | |
int | _overlap |
Size of ghost cell layer (must be greater than 1 and greater_overlapBC, default =1) | |
OstreamManager | clout |
class specific output stream | |
Definition at line 39 of file superStructure.h.
using olb::SuperStructure< T, D >::value_t = T |
Definition at line 52 of file superStructure.h.
|
inlinevirtual |
olb::SuperStructure< T, D >::SuperStructure | ( | CuboidGeometry< T, D > & | cuboidGeometry, |
LoadBalancer< T > & | loadBalancer, | ||
int | overlap = 2 ) |
Construction of a super structure.
Definition at line 34 of file superStructure.hh.
olb::SuperStructure< T, D >::SuperStructure | ( | int | overlap = 1 | ) |
Default Constructor for empty SuperStructure.
Definition at line 45 of file superStructure.hh.
|
inlinevirtual |
Reimplemented in olb::SuperData< D, T, U >, olb::SuperData< 2, T, BaseType >, olb::SuperData< 2, T, T >, olb::SuperData< 3, T, BaseType >, olb::SuperData< 3, T, T >, olb::SuperLattice< T, DESCRIPTOR >, olb::SuperLattice< S, descriptor >, olb::SuperLattice< T, Lattice >, olb::SuperLattice< T, TDESCRIPTOR >, olb::SuperGeometry< T, D >, olb::SuperGeometry< S, D >, olb::SuperGeometry< S, dim >, olb::SuperGeometry< T, 2 >, olb::SuperGeometry< T, 3 >, and olb::SuperGeometry< T, DESCRIPTOR::d >.
Definition at line 77 of file superStructure.h.
void olb::SuperStructure< T, D >::forCorePhysLocations | ( | F | f | ) | const |
Iterate over discrete physical locations.
Definition at line 89 of file superStructure.hh.
void olb::SuperStructure< T, D >::forCorePhysLocations | ( | PhysR< T, D > | min, |
PhysR< T, D > | max, | ||
F | f ) const |
Iterate over discrete physical locations between min and max.
Definition at line 118 of file superStructure.hh.
void olb::SuperStructure< T, D >::forCoreSpatialLocations | ( | F | f | ) | const |
Iterate over spatial locations NOTE: Based on physical locations (as opposed to its blockStructure version)
Definition at line 147 of file superStructure.hh.
References olb::Vector< T, D >::data().
void olb::SuperStructure< T, D >::forCoreSpatialLocations | ( | PhysR< T, D > | min, |
PhysR< T, D > | max, | ||
F | f ) const |
Iterate over spatial locations between min and max NOTE: Based on physical locations (as opposed to its blockStructure version)
Definition at line 166 of file superStructure.hh.
References olb::Vector< T, D >::data().
CuboidGeometry< T, D > & olb::SuperStructure< T, D >::getCuboidGeometry | ( | ) |
Read and write access to cuboid geometry.
Definition at line 52 of file superStructure.hh.
CuboidGeometry< T, D > const & olb::SuperStructure< T, D >::getCuboidGeometry | ( | ) | const |
Read only access to cuboid geometry.
Definition at line 58 of file superStructure.hh.
LoadBalancer< T > & olb::SuperStructure< T, D >::getLoadBalancer | ( | ) |
Read and write access to the load balancer.
Definition at line 76 of file superStructure.hh.
LoadBalancer< T > const & olb::SuperStructure< T, D >::getLoadBalancer | ( | ) | const |
Read only access to the load balancer.
Definition at line 82 of file superStructure.hh.
int olb::SuperStructure< T, D >::getOverlap | ( | ) |
Read and write access to the overlap.
Definition at line 64 of file superStructure.hh.
int olb::SuperStructure< T, D >::getOverlap | ( | ) | const |
Read only access to the overlap.
Definition at line 70 of file superStructure.hh.
|
protected |
The grid structure is stored here.
Definition at line 42 of file superStructure.h.
|
protected |
Distribution of the cuboids of the cuboid structure.
Definition at line 44 of file superStructure.h.
|
protected |
Size of ghost cell layer (must be greater than 1 and greater_overlapBC, default =1)
Definition at line 47 of file superStructure.h.
|
mutableprotected |
class specific output stream
Definition at line 49 of file superStructure.h.