elementlibrary.h
来自「Dolfin provide a high-performance linear」· C头文件 代码 · 共 41 行
H
41 行
// Copyright (C) 2007 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added: 2007-04-12// Last changed: 2007-04-13#ifndef __ELEMENT_LIBRARY_H#define __ELEMENT_LIBRARY_H#include <string>#include <ufc.h>namespace dolfin{ /// Library of pregenerated finite elements and dof maps. class ElementLibrary { public: /// Create finite element with given signature static ufc::finite_element* create_finite_element(const char* signature); /// Create finite element with given signature static ufc::finite_element* create_finite_element(std::string signature) { return create_finite_element(signature.c_str()); } /// Create dof map with given signature static ufc::dof_map* create_dof_map(const char* signature); /// Create dof map with given signature static ufc::dof_map* create_dof_map(std::string signature) { return create_dof_map(signature.c_str()); } };}#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?