#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <wordexp.h>
#include <dlfcn.h>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <boost/iostreams/filtering_stream.hpp>
#include <lac/vector.h>
浏览该文件的源代码。
组合类型 |
class | Function< value_type > |
class | FunctionFunction< value_type > |
class | nVector< n, _Tp > |
命名空间 |
namespace | dealii |
类型定义 |
typedef void * | dlhandle_t |
typedef
boost::iostreams::filtering_istream | filtering_istream |
函数 |
void | ExpandString (std::string &str) |
void | StringToWord (const std::string &str, const char &c, std::vector< std::string > &result) |
void | CombineString (const std::vector< std::string > &prefix, const std::vector< std::string > &suffix, std::vector< std::string > &result) |
std::string | FindAFEPackLibraryFilePath (const std::string &filename) |
dlhandle_t | AFEPackDLOpen (const std::string &filename) |
void | OpenAFEPackLibraryFile (const std::string &filename, filtering_istream &is) |
void | LoadLibraryFunction (dlhandle_t &handle, const std::string &sym, dlhandle_t &fun_ptr) |
void | OpenFilteredStream (const std::string &filename, filtering_istream &is) |
void | hsfc_renumerate (int, double *, double *, double *, int *) |
void | hsfc_renumerate (int, double *, double *, double *, int *, void(*)(double, double, double, double &, double &, double &)) |
template<class V , template< class T > class C> |
V | innerProduct (const C< V > &c0, const C< V > &c1) |
template<class C > |
C::value_type | innerProduct (const C &c0, const C &c1) |
详细描述
- 作者:
- Ruo Li <rli>
- 日期:
- Fri Dec 14 09:47:04 2007
类型定义文档
函数文档
void CombineString |
( |
const std::vector< std::string > & |
prefix, |
|
|
const std::vector< std::string > & |
suffix, |
|
|
std::vector< std::string > & |
result |
|
) |
| |
搜索指定的路径,根据文件名找到包含库文件的完整路径的文件名
- 参数:
-
void hsfc_renumerate |
( |
int |
, |
|
|
double * |
, |
|
|
double * |
, |
|
|
double * |
, |
|
|
int * |
, |
|
|
void(*)(double, double, double, double &, double &, double &) |
|
|
) |
| |
template<class V , template< class T > class C>
此模板函数可以兼容 gcc 4.2.x 版本的情况,这个版本的编译器似乎不允许 对模板参数的缺省情况作模板匹配,从而导致上面的模板 template <class t>=""> class C 不能和 std::vector<value_type, allocator = default allocator> 进行匹配。蔡振宁提供。
从共享库中载入一个函数
- 参数:
-
handle | 共享库句柄 |
sym | 函数名 |
fun_ptr | 返回的函数指针 |
搜索指定的路径,找到库文件,并打开为一个流
- 参数:
-
根据文件名,将其打开为一个过滤的流,流中的 shell 脚本型的注释将被 过滤掉。RealHP 的打开的各种文本型的库文件都事实上使用本函数打开为 一个流,从而其中支持使用 shell 脚本型的注释。
- 参数:
-
void StringToWord |
( |
const std::string & |
str, |
|
|
const char & |
c, |
|
|
std::vector< std::string > & |
result |
|
) |
| |