AFEPack
|
函数 | |
void | hCatSparsityPattern (const SparsityPattern &sp0, const SparsityPattern &sp1, SparsityPattern &sp) |
void | vCatSparsityPattern (const SparsityPattern &sp0, const SparsityPattern &sp1, SparsityPattern &sp) |
void | gammaCatSparsityPattern (const SparsityPattern &sp0, const SparsityPattern &sp1, SparsityPattern &sp) |
void | dCatSparsityPattern (const SparsityPattern &sp0, const SparsityPattern &sp1, SparsityPattern &sp) |
void | fullCatSparsityPattern (const SparsityPattern &sp00, const SparsityPattern &sp01, const SparsityPattern &sp10, const SparsityPattern &sp11, SparsityPattern &sp) |
template<typename number > | |
void | hCatSparseMatrix (const SparseMatrix< number > &m0, const SparseMatrix< number > &m1, SparsityPattern &sp, SparseMatrix< number > &m, bool is_pattern_ok=true) |
template<typename number > | |
void | vCatSparseMatrix (const SparseMatrix< number > &m0, const SparseMatrix< number > &m1, SparsityPattern &sp, SparseMatrix< number > &m, bool is_pattern_ok=true) |
template<typename number > | |
void | gammaCatSparseMatrix (const SparseMatrix< number > &m0, const SparseMatrix< number > &m1, SparsityPattern &sp, SparseMatrix< number > &m, bool is_pattern_ok=true) |
template<typename number > | |
void | dCatSparseMatrix (const SparseMatrix< number > &m0, const SparseMatrix< number > &m1, SparsityPattern &sp, SparseMatrix< number > &m, bool is_pattern_ok=true) |
template<typename number > | |
void | fullCatSparseMatrix (const SparseMatrix< number > &m00, const SparseMatrix< number > &m01, const SparseMatrix< number > &m10, const SparseMatrix< number > &m11, SparsityPattern &sp, SparseMatrix< number > &m, bool is_pattern_ok=true) |
DeclException0 (ExcNotCompressed) | |
DeclException2 (ExcDimensionDontMatch, int, int,<< "The dimensions "<< arg1<< " and "<< arg2<< " do not match properly.") | |
template void | hCatSparseMatrix< number > (const SparseMatrix< number > &, const SparseMatrix< number > &, SparsityPattern &, SparseMatrix< number > &, bool) |
template void | vCatSparseMatrix< number > (const SparseMatrix< number > &, const SparseMatrix< number > &, SparsityPattern &, SparseMatrix< number > &, bool) |
template void | gammaCatSparseMatrix< number > (const SparseMatrix< number > &, const SparseMatrix< number > &, SparsityPattern &, SparseMatrix< number > &, bool) |
template void | dCatSparseMatrix< number > (const SparseMatrix< number > &, const SparseMatrix< number > &, SparsityPattern &, SparseMatrix< number > &, bool) |
void SparseMatrixTool::dCatSparseMatrix | ( | const SparseMatrix< number > & | m0, |
const SparseMatrix< number > & | m1, | ||
SparsityPattern & | sp, | ||
SparseMatrix< number > & | m, | ||
bool | is_pattern_ok = true |
||
) |
ϡնԽǷʽӳΪһµϡ
m0 | ϽǾ |
m1 | ½Ǿ |
sp | õ¾ģ |
m | õ¾ |
is_pattern_ok | Ϊ棬ģй죻 ٶģѾȷĹ죻ȱ ʡֵΪ档 |
将两个稀疏矩阵按照对角方式连接成为一个新的稀疏矩阵。
m0 | 左上角矩阵 |
m1 | 右下角矩阵 |
sp | 得到的新矩阵的模板 |
m | 得到的新矩阵 |
is_pattern_ok | 如果为真,则不对模板进行构造;否则 假定模板已经进行了正确的构造;缺 省值为真。 |
template void SparseMatrixTool::dCatSparseMatrix< number > | ( | const SparseMatrix< number > & | , |
const SparseMatrix< number > & | , | ||
SparsityPattern & | , | ||
SparseMatrix< number > & | , | ||
bool | |||
) |
void SparseMatrixTool::dCatSparsityPattern | ( | const SparsityPattern & | sp0, |
const SparsityPattern & | sp1, | ||
SparsityPattern & | sp | ||
) |
ϡģ尴նԽǷʽӳΪһµģ塣
sp0 | ϽǾģ |
sp1 | ½Ǿģ |
sp | õģ |
ϡģ尴ԽǷӳΪһµģ
sp0 | Ͻǵģ |
sp1 | ½ǵģ |
sp | õģ |
ģǷѾѹˡ
ģǷѾѹˡ
SparseMatrixTool::DeclException0 | ( | ExcNotCompressed | ) |
SparseMatrixTool::DeclException2 | ( | ExcDimensionDontMatch | , |
int | , | ||
int | , | ||
<< "The dimensions "<< arg1<< " and "<< arg2<< " do not match properly." | |||
) |
template void SparseMatrixTool::fullCatSparseMatrix | ( | const SparseMatrix< number > & | m00, |
const SparseMatrix< number > & | m01, | ||
const SparseMatrix< number > & | m10, | ||
const SparseMatrix< number > & | m11, | ||
SparsityPattern & | sp, | ||
SparseMatrix< number > & | m, | ||
bool | is_pattern_ok = true |
||
) |
ĸϡȫΪһµϡ
m00 | ϽǾ |
m01 | ϽǾ |
m10 | ½Ǿ |
m11 | ½Ǿ |
sp | õ¾ģ |
m | õ¾ |
is_pattern_ok | Ϊ棬ģй죻 ٶģѾȷĹ죻ȱ ʡֵΪ档 |
将四个稀疏矩阵完全连接为一个新的稀疏矩阵
m00 | 左上角矩阵 |
m01 | 右上角矩阵 |
m10 | 左下角矩阵 |
m11 | 右下角矩阵 |
sp | 得到的新矩阵的模板 |
m | 得到的新矩阵 |
is_pattern_ok | 如果为真,则对模板进行构造;否则 假定模板已经进行了正确的构造;缺 省值为真。 |
void SparseMatrixTool::fullCatSparsityPattern | ( | const SparsityPattern & | sp00, |
const SparsityPattern & | sp01, | ||
const SparsityPattern & | sp10, | ||
const SparsityPattern & | sp11, | ||
SparsityPattern & | sp | ||
) |
ĸϡģȫΪһµģ
sp00 | ϽǾģ |
sp01 | ϽǾģ |
sp10 | ½Ǿģ |
sp11 | ½Ǿģ |
sp | õģ |
void SparseMatrixTool::gammaCatSparseMatrix | ( | const SparseMatrix< number > & | m0, |
const SparseMatrix< number > & | m1, | ||
SparsityPattern & | sp, | ||
SparseMatrix< number > & | m, | ||
bool | is_pattern_ok = true |
||
) |
ϡķʽӳΪһµϡ ҲǶڸϡ
ǵõ
m0 | ![]() |
m1 | ![]() |
sp | õ¾ģ |
m | õ¾ |
is_pattern_ok | Ϊ棬ģй죻 ٶģѾȷĹ죻ȱ ʡֵΪ档 |
将两个稀疏矩阵按鞍点问题的方式连接成为一个新的稀疏 矩阵,也就是对于给定的稀疏矩阵 和
,我们得到矩阵
m0 | 矩阵 ![]() |
m1 | 矩阵 ![]() |
sp | 得到的新矩阵的模板 |
m | 得到的新矩阵 |
is_pattern_ok | 如果为真,则对模板进行构造;否则 假定模板已经进行了正确的构造;缺 省值为真。 |
template void SparseMatrixTool::gammaCatSparseMatrix< number > | ( | const SparseMatrix< number > & | , |
const SparseMatrix< number > & | , | ||
SparsityPattern & | , | ||
SparseMatrix< number > & | , | ||
bool | |||
) |
void SparseMatrixTool::gammaCatSparsityPattern | ( | const SparsityPattern & | sp0, |
const SparsityPattern & | sp1, | ||
SparsityPattern & | sp | ||
) |
ϡģ尴ķʽӳΪһµ ģ壬ҲǶڸϡ
ǵõ
ģ塣Ҫ
ͬ Լ
һ
sp0 | ![]() |
sp1 | ![]() |
sp | õģ |
ϡģ尴ķʽӳΪһµ ģ壬ҲǶڸϡ
ǵõ
ģ塣Ҫ
ͬ
sp0 | ![]() |
sp1 | ![]() |
sp | õģ |
ģǷѾѹˡ
ģǷͬԼһģǷ һģ塣
ģǷѾѹˡ
ģǷͬԼһģǷ һģ塣
void SparseMatrixTool::hCatSparseMatrix | ( | const SparseMatrix< number > & | m0, |
const SparseMatrix< number > & | m1, | ||
SparsityPattern & | sp, | ||
SparseMatrix< number > & | m, | ||
bool | is_pattern_ok = true |
||
) |
ϡˮƽʽӳΪһµϡ
m0 | ߵľ |
m1 | ұߵľ |
sp | õ¾ģ |
m | õ¾ |
is_pattern_ok | Ϊ棬ģй죻 ٶģѾȷĹ죻ȱ ʡֵΪ档 |
将两个稀疏矩阵按照水平方式连接成为一个新的稀疏矩阵。
m0 | 左边的矩阵 |
m1 | 右边的矩阵 |
sp | 得到的新矩阵的模板 |
m | 得到的新矩阵 |
is_pattern_ok | 如果为真,则对模板进行构造;否则 假定模板已经进行了正确的构造;缺 省值为真。 |
template void SparseMatrixTool::hCatSparseMatrix< number > | ( | const SparseMatrix< number > & | , |
const SparseMatrix< number > & | , | ||
SparsityPattern & | , | ||
SparseMatrix< number > & | , | ||
bool | |||
) |
void SparseMatrixTool::hCatSparsityPattern | ( | const SparsityPattern & | sp0, |
const SparsityPattern & | sp1, | ||
SparsityPattern & | sp | ||
) |
ϡģ尴ˮƽӳΪһµģ Ҫͬ
sp0 | ߵģ |
sp1 | ұߵģ |
sp | õģ |
ģǷѾѹˡ
ģǷͬ
ģǷѾѹˡ
ģǷͬ
void SparseMatrixTool::vCatSparseMatrix | ( | const SparseMatrix< number > & | m0, |
const SparseMatrix< number > & | m1, | ||
SparsityPattern & | sp, | ||
SparseMatrix< number > & | m, | ||
bool | is_pattern_ok = true |
||
) |
ϡֱʽӳΪһµϡ
m0 | ϱߵľ |
m1 | ±ߵľ |
sp | õ¾ģ |
m | õ¾ |
is_pattern_ok | Ϊ棬ģй죻 ٶģѾȷĹ죻ȱ ʡֵΪ档 |
将两个稀疏矩阵按照竖直方式连接成为一个新的稀疏矩阵。
m0 | 上边的矩阵 |
m1 | 下边的矩阵 |
sp | 得到的新矩阵的模板 |
m | 得到的新矩阵 |
is_pattern_ok | 如果为真,则对模板进行构造;否则 假定模板已经进行了正确的构造;缺 省值为真。 |
template void SparseMatrixTool::vCatSparseMatrix< number > | ( | const SparseMatrix< number > & | , |
const SparseMatrix< number > & | , | ||
SparsityPattern & | , | ||
SparseMatrix< number > & | , | ||
bool | |||
) |
void SparseMatrixTool::vCatSparsityPattern | ( | const SparsityPattern & | sp0, |
const SparsityPattern & | sp1, | ||
SparsityPattern & | sp | ||
) |
ϡģ尴ֱӳΪһµģ Ҫͬ
sp0 | ϱߵģ |
sp1 | ±ߵģ |
sp | õģ |
ģǷѾѹˡ
ģǷͬ
ģǷѾѹˡ
ģǷͬ