STLFactory.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
STLFactory
¶ Parent class(es)
-
std::shared_ptr<GenericMatrix>
create_matrix
() const¶ Create empty matrix
-
std::shared_ptr<GenericVector>
create_vector
() const¶ Create empty vector
-
std::shared_ptr<TensorLayout>
create_layout
(std::size_t rank) const¶ Create empty tensor layout
-
std::shared_ptr<GenericLinearOperator>
create_linear_operator
() const¶ Create empty linear operator
-
std::shared_ptr<GenericLUSolver>
create_lu_solver
(std::string method) const¶ Create LU solver
-
std::shared_ptr<GenericLinearSolver>
create_krylov_solver
(std::string method, std::string preconditioner) const¶ Create Krylov solver
-
static STLFactory &
instance
()¶ Return singleton instance
-
std::shared_ptr<GenericMatrix>