Thyra
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
core
src
interfaces
operator_solve
extended
Thyra_PhysicallyBlockedLinearOpWithSolveBase.hpp
1
// @HEADER
2
// *****************************************************************************
3
// Thyra: Interfaces and Support for Abstract Numerical Algorithms
4
//
5
// Copyright 2004 NTESS and the Thyra contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef THYRA_PHYSICALLY_BLOCKED_LINEAR_OP_WITH_SOLVE_BASE_HPP
11
#define THYRA_PHYSICALLY_BLOCKED_LINEAR_OP_WITH_SOLVE_BASE_HPP
12
13
#include "Thyra_BlockedLinearOpWithSolveBase.hpp"
14
#include "Thyra_PhysicallyBlockedLinearOpBase.hpp"
15
16
17
namespace
Thyra {
18
19
27
template
<
class
Scalar>
28
class
PhysicallyBlockedLinearOpWithSolveBase
29
:
virtual
public
BlockedLinearOpWithSolveBase
<Scalar>,
30
virtual
public
PhysicallyBlockedLinearOpBase
<Scalar>
31
{
32
public
:
33
49
virtual
bool
acceptsLOWSBlock
(
const
int
i,
const
int
j)
const
= 0;
50
52
virtual
void
setNonconstLOWSBlock
(
53
const
int
i,
const
int
j,
54
const
Teuchos::RCP
<
LinearOpWithSolveBase<Scalar>
> &block
55
) = 0;
56
58
virtual
void
setLOWSBlock
(
59
const
int
i,
const
int
j,
60
const
Teuchos::RCP
<
const
LinearOpWithSolveBase<Scalar>
> &block
61
) = 0;
62
63
private
:
64
65
// Not defined and not to be called
66
PhysicallyBlockedLinearOpWithSolveBase<Scalar>
&
67
operator=(
const
PhysicallyBlockedLinearOpWithSolveBase<Scalar>
&);
68
69
};
70
71
72
}
// namespace Thyra
73
74
75
#endif
// THYRA_PHYSICALLY_BLOCKED_LINEAR_OP_WITH_SOLVE_BASE_HPP
Teuchos::RCP
Thyra::BlockedLinearOpWithSolveBase
Base interface for linear operators with a solve that can be accessed as sub-blocks.
Definition
Thyra_BlockedLinearOpWithSolveBase.hpp:32
Thyra::LinearOpWithSolveBase
Base class for all linear operators that can support a high-level solve operation.
Definition
Thyra_LinearOpWithSolveBase_decl.hpp:279
Thyra::PhysicallyBlockedLinearOpBase
Base interface for physically blocked linear operators.
Definition
Thyra_PhysicallyBlockedLinearOpBase.hpp:33
Thyra::PhysicallyBlockedLinearOpWithSolveBase
Base interface for linear operators with a solve that are composed out of individual LOB and LOWSB ob...
Definition
Thyra_PhysicallyBlockedLinearOpWithSolveBase.hpp:31
Thyra::PhysicallyBlockedLinearOpWithSolveBase::setNonconstLOWSBlock
virtual void setNonconstLOWSBlock(const int i, const int j, const Teuchos::RCP< LinearOpWithSolveBase< Scalar > > &block)=0
Thyra::PhysicallyBlockedLinearOpWithSolveBase::setLOWSBlock
virtual void setLOWSBlock(const int i, const int j, const Teuchos::RCP< const LinearOpWithSolveBase< Scalar > > &block)=0
Thyra::PhysicallyBlockedLinearOpWithSolveBase::acceptsLOWSBlock
virtual bool acceptsLOWSBlock(const int i, const int j) const =0
Determines if the block (i,j) can be filled with a LOWDB object or not.
Generated by
1.17.0