lib/io/parser.cc
void parser::setPeriodicity() {
    xPer = true;
    yPer = true;
    zPer = true;
    xPerInt = 1;
    yPerInt = 1;
    zPerInt = 1;

    if (domainType[0] == 'N') {
        xPer = false;
        xPerInt = 0;
    } 
    if (domainType[1] == 'N') {
        yPer = false;
        yPerInt = 0;
    }
    if (domainType[2] == 'N') {
        zPer = false;
        zPerInt = 0;
    }
}
/**
 ********************************************************************************************************************************************
 * \brief   Function to set the periodicity of the domain based on domainType variable
 *
 *          The user specifies domain type as a single string.
 *          This string has to be parsed to set the boolean values xPer, yPer and zPer.
 *          The values of these variables will set the periodic boundary conditions appropriately.
 ********************************************************************************************************************************************
 */
\brief   Function to set the periodicity of the domain based on domainType variable
The user specifies domain type as a single string.
This string has to be parsed to set the boolean values xPer, yPer and zPer.
The values of these variables will set the periodic boundary conditions appropriately.
\ brief Function to set the periodicity of the domain based on domainType variable The user specifies domain type as a single string . This string has to be parsed to set the boolean values xPer yPer and zPer . The values of these variables will set the periodic boundary conditions appropriately .
void parser::setPeriodicity() {
    xPer = true;
    yPer = true;
    zPer = true;
    xPerInt = 1;
    yPerInt = 1;
    zPerInt = 1;
    if (domainType[0] == 'N') {
        xPer = false;
        xPerInt = 0;
    } 
    if (domainType[1] == 'N') {
        yPer = false;
        yPerInt = 0;
    }
    if (domainType[2] == 'N') {
        zPer = false;
        zPerInt = 0;
    }
}
void parser :: setPeriodicity ( ) { xPer = true ; yPer = true ; zPer = true ; xPerInt = 1 ; yPerInt = 1 ; zPerInt = 1 ; if ( domainType [ 0 ] == ' ' ) { xPer = false ; xPerInt = 0 ; } if ( domainType [ 1 ] == ' ' ) { yPer = false ; yPerInt = 0 ; } if ( domainType [ 2 ] == ' ' ) { zPer = false ; zPerInt = 0 ; } }
\brief   Function to set the periodicity of the domain based on domainType variable
          The user specifies domain type as a single string.
\ brief Function to set the periodicity of the domain based on domainType variable The user specifies domain type as a single string .