Template Function UtilitiesAL::set_null_space

Function Documentation

template<int spacedim, typename VectorType>
void UtilitiesAL::set_null_space(Teuchos::ParameterList &parameter_list, std::unique_ptr<Epetra_MultiVector> &ptr_distributed_modes, const Epetra_RowMatrix &matrix, const std::vector<VectorType> &modes)

Set the null space of the matrix using a pre-computed set of vectors.

Needed for the AMG preconditioner to work properly with linear elasticity. In particular, parameter_list will be filled by this function.