Skip to content

Commit

Permalink
Comment update
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-copeland committed Jun 22, 2024
1 parent 53add84 commit e899ef1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions lib/hyperreduction/STSampling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ namespace CAROM {

// This function implements Algorithm 2 of Choi and Carlberg 2019.
// All spatial indices are used here.
// Spatial basis s_basis is distributed, of size (number of spatial DOFs) x (number of basis vectors)
// Temporal basis t_basis is stored in its entirety on each process, of size (number of temporal DOFs) x (number of basis vectors)
// In general, there may be multiple temporal basis vectors associated with each spatial basis vector, but here we assume for now
// that there is only one, i.e. column j of s_basis corresponds to column j of t_basis.
// The spatial basis s_basis is distributed, of size
// (number of spatial DOFs) x (number of basis vectors)
// The temporal basis t_basis is not distributed, stored in its entirety on each
// process, of size (number of temporal DOFs) x (number of basis vectors)
// In general, there may be multiple temporal basis vectors associated with each
// spatial basis vector, but here we assume for now that there is only one, i.e.
// column j of s_basis corresponds to column j of t_basis.
void SampleTemporalIndices(const Matrix* s_basis,
const Matrix* t_basis,
const int num_f_basis_vectors_used,
Expand Down

0 comments on commit e899ef1

Please sign in to comment.