The default padding length for molecules is 0.0 Ang.
The box used for calculating the molecule within, is created in the following way:
* First of all the box is extended in all direction such that all the orbitals have compact support within the box.
* Then the box is extended by the padding length in all direction to create extra vacuum.
The first steps assures that density is, without error, represented inside the box. Therefore increasing the box will not give a better description of the density and
hence all the parts of the potential, that depend only on the density point-wise, are therefore also without any error related to the box size.
The only term that can still give an error, is the hartree potential, which can have long tails into the vacuum if there is a presence of local dipoles. Therefore a padding length can be added.
However the default poisson solver for molecules is the multigrid method using quadrapole expansion at the boundaries, which is perfect to modeling the tails of the hartee potential. Therefore unless you manually choose another poisson solver, you will see no effect of increasing the cell by adding padding length.
The routine ( a developer routine ) you have found, is not the one used for setting up the calculation, it is used for converting a molecule to a bulk in the Builder in VNL. If you want a look behind the scene you can have a look at this function:
from NL.CommonConcepts.Configurations.AtomicConfigurationUtilities import constructBoundingBox
lattice = constructBoundingBox(molecule_configuration, radius=6.0*Ang, padding=1.0*Ang)
print lattice.primitiveVectors()
I hope that it helped.