lib/io/parser.cc
/**
 ********************************************************************************************************************************************
 * \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;
    if (domainType[0] == 'N') xPer = false;
    if (domainType[1] == 'N') yPer = false;
    if (domainType[2] == 'N') zPer = false;
}
void parser :: setPeriodicity ( ) { xPer = true ; yPer = true ; zPer = true ; if ( domainType [ 0 ] == ' ' ) xPer = false ; if ( domainType [ 1 ] == ' ' ) yPer = false ; if ( domainType [ 2 ] == ' ' ) zPer = false ; }
\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 .