Gadget
Functions
lengthgroup.cc File Reference
#include "lengthgroup.h"
#include "errorhandler.h"
#include "gadget.h"
#include "global.h"
Include dependency graph for lengthgroup.cc:

Functions

int checkLengthGroupStructure (const LengthGroupDivision *finer, const LengthGroupDivision *coarser)
 This is the function that will check whether one LengthGroupDivision has length groups that are finer than a second LengthGroupDivision, and print an error if this is not the case. More...
 

Function Documentation

◆ checkLengthGroupStructure()

int checkLengthGroupStructure ( const LengthGroupDivision finer,
const LengthGroupDivision coarser 
)

This is the function that will check whether one LengthGroupDivision has length groups that are finer than a second LengthGroupDivision, and print an error if this is not the case.

Parameters
fineris the LengthGroupDivision that should be on a finer scale
coarseris the LengthGroupDivision that should be on a coarser scale
Returns
1 if the structure of the LengthGroupDivision objects are compatible, 0 otherwise