我正在尝试阅读位于此链接上的用于有限元建模的 DOLFIN c++ 库的文档:
https://fenicsproject.org/olddocs/dolfin/1.3.0/python/programmers-reference/index.html
但是文档很难阅读,因此对于没有 c++ 知识的人,您将如何阅读 Expression 类的 c++ 方法 eval_cell() 的以下参数规范(https://fenicsproject.org/docs/dolfin/2017.2.0 /python/programmers-reference/cpp/function/Expression.html):
参数:
double > & values (Array<) – (Array<double>) The values at the point.
Array< double > & x (const) – (Array<double>) The coordinates of the point.
ufc::cell & cell (const) – (ufc::cell) The cell which contains the given point.