Skip to content

deepmodeling/openfinite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.5%
  • CMake 1.4%
  • Python 0.1%