https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MatrixEigenvalueCheck.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
13
14namespace libMesh
15{
16template <typename>
17class PetscMatrix;
18}
19
24{
25public:
27
29
30 virtual void initialize() override;
31 virtual void execute() override;
32 virtual void finalize() override;
33 virtual Real getValue() const override;
34
35protected:
36 const Real _zero_tol;
37 const std::string & _mat_name;
38 const bool _print;
39 Mat _petsc_mat = nullptr;
41};
Returns the number of zero eigenvalues in a PETSc matrix.
virtual void execute() override
virtual void finalize() override
virtual Real getValue() const override
static InputParameters validParams()
const std::string & _mat_name
virtual void initialize() override
const InputParameters & parameters() const
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...