ivutils
Loading...
Searching...
No Matches
apDuplConfig Struct Reference

configuration for setting elementary cell duplication in dumps More...

#include <gnudump.h>

Collaboration diagram for apDuplConfig:

Public Member Functions

int get_parity (int tr) const
 Gets the total parity of transformation: 1 = even, -1 = odd.
 
void get_lim_plane_filter (int tr, std::vector< int > &filter) const
 gets limiting plane ids to filter out for a given translation
 
int size () const
 Gets the number of translations.
 
template<class vec_t >
vec_t low (const vec_t &vec) const
 Lowest (minimal in all directions) position in translations for a given vector.
 
template<class vec_t >
vec_t high (const vec_t &vec) const
 Lowest (minimal in all directions) position in translations for a given vector.
 
bool has_origin (int i) const
 

Public Attributes

iVector_3 dup = iVector_3(1)
 how many elementary cells are duplicated in each direction for dump
 
iVector_3 dup_orig = iVector_3(0)
 duplication origin
 
iVector_3 bc_parity = iVector_3(0)
 parity of boundaries: 0= no symmetry, 1= even, -1 = odd
 
Vector_3 origin
 en cell origin
 
Vector_3 L
 Elementary cell sizes (currently orthonormal translations only)
 

Detailed Description

configuration for setting elementary cell duplication in dumps

Member Function Documentation

◆ has_origin()

bool apDuplConfig::has_origin ( int  i) const
inline
Returns
true if all defined translations contain the origin index (0) in given direction

The documentation for this struct was generated from the following file: