---
title: Lattice
description: lattice为格点，结构体里参数如下表所示。
url: "https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpckit/devg/KunpengHPCKit_developer_214.html"
---

# Lattice

lattice为格点，结构体里参数如下表所示。


**表1 Lattice结构体**

| 变量名 | 类型 | 描述 |
| --- | --- | --- |
| nx | unsigned short | 格点x方向大小 |
| ny | unsigned short | 格点y方向大小 |
| nz | unsigned short | 格点z方向大小 |
| nt | unsigned short | 格点t方向大小 |
| V | size\_t | 格点整体大小，值为nx\*ny\*nz\*nt |
