|
dune-istl 2.8.0
|
Loading...
Searching...
No Matches
ldl.hh
Go to the documentation of this file.
71 : public InverseOperator<BlockVector<FieldVector<T,m>, typename std::allocator_traits<A>::template rebind_alloc<FieldVector<T,m> > >,
72 BlockVector<FieldVector<T,n>, typename std::allocator_traits<A>::template rebind_alloc<FieldVector<T,n> > > >
81 typedef ISTL::Impl::BCCSMatrixInitializer<BCRSMatrix<FieldMatrix<T,n,m>,A>, int> MatrixInitializer;
83 typedef Dune::BlockVector<FieldVector<T,m>, typename std::allocator_traits<A>::template rebind_alloc<FieldVector<T,m> > > domain_type;
85 typedef Dune::BlockVector<FieldVector<T,n>, typename std::allocator_traits<A>::template rebind_alloc<FieldVector<T,n> > > range_type;
164 virtual void apply(domain_type& x, range_type& b, [[maybe_unused]] double reduction, InverseOperatorResult& res)
217 copyToBCCSMatrix(initializer, ISTL::Impl::MatrixRowSubset<Matrix,std::set<std::size_t> >(matrix,rowIndexSet));
321 if(amd_order (dimMat, ldlMatrix_.getColStart(), ldlMatrix_.getRowIndex(), P_, (double *) NULL, Info) < AMD_OK)
326 ldl_symbolic(dimMat, ldlMatrix_.getColStart(), ldlMatrix_.getRowIndex(), Lp_, Parent_, Lnz_, Flag_, P_, Pinv_);
#define DUNE_REGISTER_DIRECT_SOLVER(name,...)
Definition solverregistry.hh:11
Templates characterizing the type of a solver.
Implementations of the inverse operator interface.
Dune::BlockVector< FieldVector< T, m >, typename std::allocator_traits< A >::template rebind_alloc< FieldVector< T, m > > > domain_type
The type of the domain of the solver.
Definition ldl.hh:83
Dune::BCRSMatrix< FieldMatrix< T, n, m >, A > Matrix
The matrix type.
Definition ldl.hh:76
int * getLp()
Get factorization Lp.
Definition ldl.hh:276
LDLMatrix & getInternalMatrix()
Return the column compress matrix.
Definition ldl.hh:235
Dune::ISTL::Impl::BCCSMatrix< T, int > LDLMatrix
The corresponding SuperLU Matrix type.
Definition ldl.hh:79
double * getLx()
Get factorization Lx.
Definition ldl.hh:294
void setVerbosity(int v)
Sets the verbosity level for the solver.
Definition ldl.hh:226
void apply(T *x, T *b)
Additional apply method with c-arrays in analogy to superlu.
Definition ldl.hh:174
virtual void apply(domain_type &x, range_type &b, double reduction, InverseOperatorResult &res)
apply inverse operator, with given convergence criteria.
Definition ldl.hh:164
Dune::BlockVector< FieldVector< T, n >, typename std::allocator_traits< A >::template rebind_alloc< FieldVector< T, n > > > range_type
The type of the range of the solver.
Definition ldl.hh:85
virtual ~LDL()
Default constructor.
Definition ldl.hh:143
void free()
Free allocated space.
Definition ldl.hh:244
virtual void apply(domain_type &x, range_type &b, InverseOperatorResult &res)
Apply inverse operator,.
Definition ldl.hh:150
int * getLi()
Get factorization Li.
Definition ldl.hh:285
Dune::BCRSMatrix< FieldMatrix< T, n, m >, A > matrix_type
Definition ldl.hh:77
void setMatrix(const Matrix &matrix)
Initialize data from given matrix.
Definition ldl.hh:188
void setOption(unsigned int option, double value)
Definition ldl.hh:184
LDL(const Matrix &matrix, int verbose, bool)
Constructor for compatibility with SuperLU standard constructor.
Definition ldl.hh:118
double * getD()
Get factorization diagonal matrix D.
Definition ldl.hh:267
LDL(const Matrix &matrix, const ParameterTree &config)
Constructs the LDL solver.
Definition ldl.hh:134
virtual SolverCategory::Category category() const
Category of the solver (see SolverCategory::Category)
Definition ldl.hh:88
ISTL::Impl::BCCSMatrixInitializer< BCRSMatrix< FieldMatrix< T, n, m >, A >, int > MatrixInitializer
Type of an associated initializer class.
Definition ldl.hh:81
const char * name()
Get method name.
Definition ldl.hh:258
void setSubMatrix(const Matrix &matrix, const S &rowIndexSet)
Definition ldl.hh:205
LDL()
Default constructor.
Definition ldl.hh:139
LDL(const Matrix &matrix, int verbose=0)
Construct a solver object from a BCRSMatrix.
Definition ldl.hh:102
static Type apply(T &t)
static constexpr size_type M()
virtual void operator()()=0
#define DUNE_THROW(E, m)
void free()
Reference get(const RAPropertyMapHelper< Reference, PropertyMap > &pmap, const Key &key)
Definition matrixutils.hh:209
size_type M() const
number of columns (counted in blocks)
Definition bcrsmatrix.hh:1976
size_type N() const
number of rows (counted in blocks)
Definition bcrsmatrix.hh:1970
std::string get(const std::string &key, const std::string &defaultValue) const
Sequential overlapping Schwarz preconditioner.
Definition overlappingschwarz.hh:753
Definition overlappingschwarz.hh:692
Use the LDL package to directly solve linear systems – empty default class.
Definition ldl.hh:54
Definition ldl.hh:371
Definition ldl.hh:372
Statistics about the application of an inverse operator.
Definition solver.hh:46
bool converged
True if convergence criterion has been met.
Definition solver.hh:71
@ sequential
Category for sequential solvers.
Definition solvercategory.hh:23
Definition solverregistry.hh:75
Definition solvertype.hh:14
Definition solvertype.hh:28
@ value
whether the solver internally uses column compressed storage
Definition solvertype.hh:34
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8