mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Update comments
This commit is contained in:
parent
ca44351c72
commit
19a0454b6f
@ -140,7 +140,8 @@ void CPR<block_size>::create_preconditioner(BlockedMatrix *mat_) {
|
||||
}
|
||||
}
|
||||
|
||||
// transform blocks to scalars
|
||||
// extract pressure
|
||||
// transform blocks to scalars to create scalar linear system
|
||||
for (int row = 0; row < Nb; ++row) {
|
||||
int start = mat->rowPointers[row];
|
||||
int end = mat->rowPointers[row + 1];
|
||||
|
@ -507,7 +507,8 @@ void OpenclKernels::apply_stdwells_no_reorder(cl::Buffer& d_Cnnzs_ocl, cl::Buffe
|
||||
)";
|
||||
}
|
||||
|
||||
// multiply vector with another vector, element-wise
|
||||
// multiply vector with another vector and a scalar, element-wise
|
||||
// add result to a third vector
|
||||
std::string OpenclKernels::get_vmul_source() {
|
||||
return R"(
|
||||
__kernel void vmul(
|
||||
|
Loading…
Reference in New Issue
Block a user