  We propose a general framework of computing interfacial structure. If an
ordered phase is involved, the interfacial structure can be obtained by simply
minimizing the free energy with compatible boundary conditions. The framework
is applied to Landau- Brazovskii model and works efficiently.
