We use the nodal approximation (Equation 2 in the main text) for triply periodic primitive phases to build the initial configuration for the field 𝜙(r) in the cuboids . The length L in Equation 2 of the primitive unit cell in the nodal approximation is taken as the size in the bulk bicontinuous cubic primitive phase, known from previous calculations .