trilinos / Trilinos

Primary repository for the Trilinos Project
https://trilinos.org/
Other
1.22k stars 570 forks source link

Tempus: Restart #8217

Open ccober6 opened 4 years ago

ccober6 commented 4 years ago

Enhancement

@trilinos/tempus

Worked with Greg Sjaardema and Ross Bartlett to determine pieces needed to do restart.

Greg shared --

From: "Sjaardema, Gregory D" gdsjaar@sandia.gov Subject: Re: IOSS/Tempus Date: May 14, 2020 at 10:37:11 AM MDT To: "Ober, Curtis C" ccober@sandia.gov

The example file is in the SEACAS github repository at https://github.com/gsjaardema/seacas at https://github.com/gsjaardema/seacas/blob/master/packages/seacas/libraries/ioss/src/utest/Utst_blob_write_read.C

Hopefully it isn't too confusing as it contains some code that is just there to verify that I can read the same data that is written.  I tried to mark the code that was just there for testing, but may have missed some.

I will check to make sure that it will work with current Trilinos/develop.  I had to make some IOSS changes, so I may need to sync those to Trilinos... ..Greg

and Ross shared --

From: "Bartlett, Roscoe A" rabartl@sandia.gov Subject: RE: Thyra functions to get and set the entire vector Date: April 30, 2020 at 4:44:50 PM MDT To: "Ober, Curtis C" ccober@sandia.gov

Even simpler:   template void doStuff(const RCP<Thyra::VectorBase> vec_ptr) {     Thyra::ConstDetachedVectorView cvv(vec_ptr);   std::cout << “First ele of vec = “ << cvv[0];     # set first ele   Thyra::DetachedVectorView cvv(vec_ptr);   cvv[0] = 5.0   }    See:   https://docs.trilinos.org/dev/packages/thyra/doc/html/classThyra_1_1DetachedVectorView.html https://docs.trilinos.org/dev/packages/thyra/doc/html/classThyra_1_1ConstDetachedVectorView.html         Dr. Roscoe A. Bartlett, PhD https://bartlettroscoe.github.io/ Sandia National Laboratories   From: Bartlett, Roscoe A 
Sent: Thursday, April 30, 2020 6:30 PM
To: Ober, Curtis C ccober@sandia.gov
Subject: Thyra functions to get and set the entire vector   Hello Curt,   The function that you can use to get and set all of the elements of a Thyra vector are in the section “Explicit sub-vector access” given at:   https://docs.trilinos.org/dev/packages/thyra/doc/html/classThyra_1_1VectorBase.html  

github-actions[bot] commented 2 years ago

This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity. If you would like to keep this issue open please add a comment and/or remove the MARKED_FOR_CLOSURE label. If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE. If it is ok for this issue to be closed, feel free to go ahead and close it. Please do not add any comments or change any labels or otherwise touch this issue unless your intention is to reset the inactivity counter for an additional year.

ccober6 commented 2 years ago

In progress.

github-actions[bot] commented 1 year ago

This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity. If you would like to keep this issue open please add a comment and/or remove the MARKED_FOR_CLOSURE label. If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE. If it is ok for this issue to be closed, feel free to go ahead and close it. Please do not add any comments or change any labels or otherwise touch this issue unless your intention is to reset the inactivity counter for an additional year.