mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Typo in variable name.
This commit is contained in:
parent
697c49a08b
commit
dfb3ccb72b
@ -221,7 +221,7 @@ CuSeqILU0<M, X, Y, l>::analyzeMatrix()
|
|||||||
m_infoU.get(),
|
m_infoU.get(),
|
||||||
CUSPARSE_SOLVE_POLICY_USE_LEVEL,
|
CUSPARSE_SOLVE_POLICY_USE_LEVEL,
|
||||||
m_buffer->data()));
|
m_buffer->data()));
|
||||||
m_analyzisDone = true;
|
m_analysisDone = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class M, class X, class Y, int l>
|
template <class M, class X, class Y, int l>
|
||||||
@ -293,7 +293,7 @@ void
|
|||||||
CuSeqILU0<M, X, Y, l>::createILU()
|
CuSeqILU0<M, X, Y, l>::createILU()
|
||||||
{
|
{
|
||||||
OPM_ERROR_IF(!m_buffer, "Buffer not initialized. Call findBufferSize() then initialize with the appropiate size.");
|
OPM_ERROR_IF(!m_buffer, "Buffer not initialized. Call findBufferSize() then initialize with the appropiate size.");
|
||||||
OPM_ERROR_IF(!m_analyzisDone, "Analyzis of matrix not done. Call analyzeMatrix() first.");
|
OPM_ERROR_IF(!m_analysisDone, "Analyzis of matrix not done. Call analyzeMatrix() first.");
|
||||||
|
|
||||||
const auto numberOfRows = detail::to_int(m_LU.N());
|
const auto numberOfRows = detail::to_int(m_LU.N());
|
||||||
const auto numberOfNonzeroBlocks = detail::to_int(m_LU.nonzeroes());
|
const auto numberOfNonzeroBlocks = detail::to_int(m_LU.nonzeroes());
|
||||||
|
@ -120,7 +120,7 @@ private:
|
|||||||
std::unique_ptr<CuVector<field_type>> m_buffer;
|
std::unique_ptr<CuVector<field_type>> m_buffer;
|
||||||
detail::CuSparseHandle& m_cuSparseHandle;
|
detail::CuSparseHandle& m_cuSparseHandle;
|
||||||
|
|
||||||
bool m_analyzisDone = false;
|
bool m_analysisDone = false;
|
||||||
|
|
||||||
void analyzeMatrix();
|
void analyzeMatrix();
|
||||||
size_t findBufferSize();
|
size_t findBufferSize();
|
||||||
|
Loading…
Reference in New Issue
Block a user