Well... the trouble is that an Epetra_FEVector is _not_ an Epetra_Vector! (in the OO sense... as in it doesn't inherit from Epetra_Vector)... so I'm not sure if we'll run into trouble later on when we try to pass an Epetra_FEVector to something like NOX. One would hope that NOX expects an Epetra_MultiVector (which both Vector and FEVector inherit from) but I don't know for sure.
I've personally used Epetra_FEVector in a little test code I wrote... and it works as advertised. It certainly makes things pretty simple for our normal use case. It has some oddities though... like it doesn't have some of the operations on it that Epetra_Vector does... and some that it does have expect the arguments in a different order! Very weird. It seems to me that FEVector is basically mothballed, I can't see that there's been any work on it in a while... so maybe it's even somewhat unsupported. I kind of figured that we would use Epetra_Vector since that kind of matched with Petsc vectors (or does it?) and I was under the impression that we'd already solved the problem of adding into non- local entries for Petsc. If that's not the case (ie, we're relying on Petsc to do off processor adding for us) then by all means let's use FEVector... Hope that helps... Derek On Jun 16, 2008, at 3:03 PM, Benjamin Kirk wrote: >> They are actually redefining "underscore." I have no clue why but >> that can't be good programming practice. > > This is invigorating me to finish the Trilinos integration. It will > be nice > to have a functional alternative to solve linear systems on parallel > platforms. > > Along these lines, Derek, any reason we are gonna use Epetra_Vector > vs. > Epetra_FEVector? Do we want to use the FEVector version instead as it > allows inserting into nonlocal entries, something we need to do?? > > -Ben > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
