an efficient C++ finite element environment
|
|
Go to the documentation of this file.
22 #include "rheolef/csr.h"
32 resize (
d.ownership(),
d.ownership(),
d.ownership().size());
41 #ifdef _RHEOLEF_HAVE_MPI
47 base::build_from_diag (
d);
48 _ext.resize (
d.ownership(),
d.ownership(), 0);
49 _jext2dis_j.resize(0);
50 _dis_nnz =
d.dis_size();
51 _scatter_initialized =
false;
53 #endif // _RHEOLEF_HAVE_MPI
54 template<
class T,
class M>
59 a.data().build_from_diag (
d.data());
66 #define _RHEOLEF_instanciation_a(T,M,A) \
67 template void csr_rep<T,M>::build_from_diag (const disarray_rep<T,M,A>&);
69 #define _RHEOLEF_instanciation(T,M) \
70 template csr<T,M> diag (const vec<T,M>&); \
71 _RHEOLEF_instanciation_a(T,M,std::allocator<T>)
74 #ifdef _RHEOLEF_HAVE_MPI
76 #endif // _RHEOLEF_HAVE_MPI
std::vector< T >::size_type size_type
_RHEOLEF_instanciation(Float, sequential, std::allocator< Float >) _RHEOLEF_instanciation(Float
csr< T, M > diag(const vec< T, M > &d)
vector_of_iterator< pair_type >::value_type data_iterator
see the vec page for the full documentation
see the csr page for the full documentation
This file is part of Rheolef.
see the Float page for the full documentation
vector_of_iterator< pair_type >::iterator iterator