Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-xt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ag-ohlberger
dune-community
dune-xt
Commits
781871d9
Commit
781871d9
authored
7 years ago
by
Tobias Leibner
Browse files
Options
Downloads
Patches
Plain Diff
[eigen-solver.internal.base] add constructor
parent
5a8b311d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/xt/la/eigen-solver/internal/base.hh
+11
-2
11 additions, 2 deletions
dune/xt/la/eigen-solver/internal/base.hh
with
11 additions
and
2 deletions
dune/xt/la/eigen-solver/internal/base.hh
+
11
−
2
View file @
781871d9
...
...
@@ -40,7 +40,7 @@ class EigenSolverOptions;
namespace
internal
{
static
void
ensure_eigen_solver_type
(
const
std
::
string
&
type
,
const
std
::
vector
<
std
::
string
>&
available_types
)
static
inline
void
ensure_eigen_solver_type
(
const
std
::
string
&
type
,
const
std
::
vector
<
std
::
string
>&
available_types
)
{
bool
contained
=
false
;
for
(
const
auto
&
tp
:
available_types
)
...
...
@@ -52,7 +52,7 @@ static void ensure_eigen_solver_type(const std::string& type, const std::vector<
}
// ... ensure_type(...)
static
Common
::
Configuration
default_eigen_solver_options
()
static
inline
Common
::
Configuration
default_eigen_solver_options
()
{
Common
::
Configuration
opts
;
opts
[
"compute_eigenvalues"
]
=
"true"
;
...
...
@@ -106,6 +106,15 @@ public:
pre_checks
();
}
EigenSolverBase
(
const
MatrixType
&
matrix
,
Common
::
Configuration
*
opts
)
:
matrix_
(
matrix
)
,
options_
(
opts
)
,
computed_
(
false
)
,
disable_checks_
(
options_
->
get
<
bool
>
(
"disable_checks"
,
false
))
{
pre_checks
();
}
EigenSolverBase
(
const
ThisType
&
other
)
=
default
;
EigenSolverBase
(
ThisType
&&
source
)
=
default
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment