The PHG 0.8.2 reference manual describes the Parallel Hierarchical Grid software, its functions, usage, and internal data structures.
This manual introduces the Parallel Hierarchical Grid (PHG) software platform, covering its function interfaces, basic usage, and internal data structures. It is intended for developers and researchers who need to configure, compile, and run PHG in parallel computing environments.
The document is organized into chapters on notation, source code configuration, compilation, file formats, program examples, degree‑of‑freedom objects, numerical integration, command‑line options, linear solver interfaces, mappings, vectors, matrices, eigenvalue calculations, and extensive appendices with function and variable indexes. This manual is written in Chinese.
| Supported programming language | C/C++ |
|---|---|
| Parallel library | MPI |
| Mesh partitioning interfaces | METIS / ParMETIS |
| Load‑balancing interface | Zoltan |
| Linear algebra libraries | BLAS and LAPACK |
Section 6.1 lists the PHG command‑line options, and section 6.2 shows how to display all available options with help information.
Use a C/C++ compiler together with MPI as described in section 2.1.1, which details the required compiler and MPI configuration.
PHG provides interfaces to METIS and ParMETIS for mesh partitioning, as explained in section 2.1.2.
PHG can work with BLAS and LAPACK libraries, and also supports external solvers such as PETSc, as mentioned in sections 2.1.4 and 7.5.