#include <DeferConsistency.h>

Classes | |
| struct | defer_guard |
Public Member Functions | |
| void | applyDeferConsistency (std::shared_ptr< const AMP::LinearAlgebra::Vector > u, std::shared_ptr< AMP::LinearAlgebra::Vector > f) |
| HasDeferConsistency (const P &p) | |
| void | residual (std::shared_ptr< const AMP::LinearAlgebra::Vector > f, std::shared_ptr< const AMP::LinearAlgebra::Vector > u, std::shared_ptr< AMP::LinearAlgebra::Vector > r) final override |
Protected Attributes | |
| bool | defer_consistency = false |
A helper type to provide deferred consistency call for apply to an operator. Operators inherit from this type passing their base operator as the template parameter. They then have access to a bool valued "defer_consistency" that can be queried to condionally call makeConsistent on the output vector.
| P | Parent operator to inherit from. |
Definition at line 18 of file DeferConsistency.h.
|
inlineexplicit |
Definition at line 21 of file DeferConsistency.h.
|
inline |
The apply function for this operator without necessarily ensuring output vector consistency.
| [in] | u | input vector. |
| [out] | f | output vector. |
Definition at line 50 of file DeferConsistency.h.
|
inlinefinaloverride |
Residual wrapper to avoid makeConsistent when it subsequently calls apply.
| [in] | f | forcing vector. |
| [in] | u | state vector. |
| [out] | r | residual vector. |
Sets r = f - apply(u)
Definition at line 64 of file DeferConsistency.h.
|
protected |
Definition at line 73 of file DeferConsistency.h.
|
Advanced Multi-Physics (AMP) Oak Ridge National Laboratory Idaho National Laboratory Los Alamos National Laboratory |
This page automatically produced from the source code by Last updated: Tue Mar 10 2026 13:06:45. Comments on this page |