# openfinite **Repository Path**: deepmodeling/openfinite ## Basic Information - **Project Name**: openfinite - **Description**: No description available - **Primary Language**: Unknown - **License**: LGPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-11 - **Last Updated**: 2024-04-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # OpenFinite: OpenFinite 是一款 C++ 编写的偏微分方程数值解共性算法库 # 开发的基本原则 * 易扩展 * 易组合 * 模块之间要尽量独立 * 分层 # 采用的技术: * 面向对象 * 模板 * 尽量只采用标准的 CPP 库 * 避免过度设计 !! # 命名规则 * NameSpaceExample * Class_name_example * class_member_function * varNameExample * Class_name_example.h * package_interface.h * is_empty **模板参数** * I : Int type * F : Float type * DIM : dimension * TDIM : toplogy dimension * GDIM : geometry dimention * Container : **成员变量** * gdim : the geometry dimension * tdim : the toplogy dimension **常用变量 * cell2node or c2n * cell2edge or c2e * cell2face or c2f * face2node or f2n * i, j, k, m, n : ofen define in for loop * NN : the total number of nodes on a mesh * NE : the total number of edges on a mesh * NF : the total number of faces on a mesh * NC : the total number of cells on a mesh * nn : the local number of nodes on a cell * ne : the local number of edges on a cell * nf : the local number of faces on a cell ## Reference https://people.math.sc.edu/Burkardt/cpp_src/metis_test/metis_test.cpp https://github.com/YingzhouLi/metismex/blob/master/src/METIS_Parameters.m