Thread Previous • Date Previous • Date Next • Thread Next |
Anders Logg wrote: > We could add something like > > void tabulate_nonzero_entries(bool* nonzero_entries); > > to go along with tabulate_tensor() in the UFC interface.
I think the simplest solution is to do this at the linear algebra level, ie make a call to the CRS matrix to make it compact its storage by removing zeros. I believe this functionality already exists in many linear algebra classes. martin
Thread Previous • Date Previous • Date Next • Thread Next |