|
libSplash
|
#include <Domain.hpp>

Public Member Functions | |
| Domain () | |
| Domain (Dimensions offset_, Dimensions size_) | |
| uint32_t | getDims () const |
| Dimensions & | getSize () |
| const Dimensions | getSize () const |
| Dimensions & | getOffset () |
| const Dimensions | getOffset () const |
| Dimensions | getBack () const |
| bool | operator== (Domain const &other) const |
| bool | operator!= (Domain const &other) const |
| std::string | toString () const |
Static Public Member Functions | |
| static bool | testIntersection (const Domain &d1, const Domain &d2) |
Represents a (1-3)-dimensional logical domain or subdomain, e.g. a logical grid in a simulation code.
Definition at line 39 of file Domain.hpp.
|
inline |
Default constructor.
Definition at line 46 of file Domain.hpp.
|
inline |
Constructor.
| offset_ | Offset of this domain in the parent domain. |
| size_ | Size of this domain in every dimension. |
Definition at line 59 of file Domain.hpp.
|
inline |
Returns the last index of this domain which is the combination of its offset and size - 1
Definition at line 122 of file Domain.hpp.


|
inline |
Returns the number of dimensions of this domain.
Definition at line 71 of file Domain.hpp.

|
inline |
Returns the offset/offset of this domain in the parent domain.
Definition at line 101 of file Domain.hpp.

|
inline |
Returns the offset/offset of this domain in the parent domain.
Definition at line 111 of file Domain.hpp.
|
inline |
Returns the size of this domain in every dimension.
Definition at line 81 of file Domain.hpp.

|
inline |
Returns the size of this domain in every dimension.
Definition at line 91 of file Domain.hpp.
Tests if two domains intersect.
| d1 | First domain. |
| d2 | Decond domain. |
Definition at line 156 of file Domain.hpp.


|
inline |
Returns a string representation.
Definition at line 142 of file Domain.hpp.


1.8.13