# Configuration¶

## Default configuration¶

class `postprocess.config.default_config.``EnvConfig`(language, intForcPath='results/internalForces/', verifPath='results/verifications/', reportPath='./', resultsPath='annex/', grWidth='\linewith', fNameMark='env_config.py')

Generic configuration of XC environment variables.

Variables: grWidth – size of the graphics to be included in the annex
class `postprocess.config.default_config.``ProjectDirTree`(intForcPath, verifPath, reportPath, resultsPath, fNameMark='env_config.py')

Bases: `object`

Paths to project directories.

Variables: intForcPath – relative path from the model path of the directory where results of internal forces are placed. verifPath – relative path from the model path of the directory where results of limit state verifications are placed reportPath – relative path of the directory where calculation report files are placed
:ivar resultsPath : relative path from reportPath of the directory where to place
graphic and text files to be included in the report
`createTree`()

Create the project directory tree.

`getFullGraphicsPath`()
`getFullReportPath`()
`getFullVerifPath`()
`getInternalForcesResultsPath`()

Return the path for the files that contains the internal forces.

`getPathList`()

Create the project directory tree.

`getReportCrackFreqFile`()

Return the path of the crack verification report file (frequent loads).

`getReportCrackFreqGrPath`()

Return the path for the crack verification graphics files (frequent loads).

`getReportCrackQpermFile`()

Return the path of the crack verification report file (quasi-permanent loads).

`getReportCrackQpermGrPath`()

Return the path for the crack verification graphics files (quasi-permanent loads).

`getReportFatigueFile`()

Return the path of the fatigue verification report file.

`getReportFatigueGrPath`()

Return the path for the fatigue verification graphics files.

`getReportFile`(limitStateLabel)
Return the path of the verification report file
for the limit state argument.
Parameters: limitStateLabel – label identifying the limit state.
`getReportGrPath`(limitStateLabel)
Return the full path for the verification graphics files
for the limit state argument.
Parameters: limitStateLabel – label identifying the limit state.
`getReportLoadsFile`()
`getReportLoadsGrPath`()
`getReportNormStrFile`()

Return the path of the normal stresses verification report file.

`getReportNormStrGrPath`()

Return the path for the normal stresses verification graphics files.

`getReportRltvGrPath`(limitStateLabel)
Return the relative path for the verification graphics files
for the limit state argument.
Parameters: limitStateLabel – label identifying the limit state.
`getReportSectionsFile`()
`getReportSectionsGrPath`()
`getReportShearFile`()

Return the path of the shear verification report file.

`getReportShearGrPath`()

Return the path for the shear verification graphics files.

`getReportSimplLCFile`()
`getReportSimplLCGrPath`()
`getRltvGraphicsPath`()
`getRltvReportCrackFreqGrPath`()

Return the path for the crack verification graphics files (frequent loads).

`getRltvReportCrackQpermGrPath`()

Return the path for the crack verification graphics files (quasi-permanent loads).

`getRltvReportFatigueGrPath`()

Return the path for the fatigue verification graphics files.

`getRltvReportLoadsGrPath`()
`getRltvReportNormStrGrPath`()

Return the path for the normal stresses verification graphics files.

`getRltvReportPath`()
`getRltvReportSectionsGrPath`()
`getRltvReportShearGrPath`()

Return the path for the shear verification graphics files.

`getRltvReportSimplLCGrPath`()
`getVerifCrackFreqFile`()

Return the path of the crack verification results file (frequent loads).

`getVerifCrackQpermFile`()

Return the path of the crack verification results file (quasi-permanent loads).

`getVerifFatigueFile`()

Return the path of the fatigue verification results file.

`getVerifFile`(limitStateLabel)

Return the path of the verification results file for the limit state argument.

Parameters: limitStateLabel – label identifying the limit state.
`getVerifNormStrFile`()

Return the path of the normal stresses verification results file.

`getVerifShearFile`()

Return the path of the shear verification results file.

`postprocess.config.default_config.``findWorkingDirectory`(fNameMark='env_config.py')
Search upwards to find the directory where the file
argument is.
Parameters: fNameMark – name of the file that marks the working directory of the project.