Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
9d1087a
add method to HierarchyIntegrator to bypass num_cycle checks
boyceg Oct 3, 2019
bf4a667
simplify implicit IB implementation
boyceg Oct 3, 2019
e7d0664
update some IB examples to use either EXPLICIT or IMPLICIT time stepping
boyceg Oct 3, 2019
c006ad6
update some IBFE examples to use either EXPLICIT or IMPLICIT time ste…
boyceg Dec 30, 2019
d8ab8b8
remove unneeded check in IBExplicitHierarchyIntegrator
boyceg Oct 3, 2019
5e587ec
add method to retreive updated position from IBImplicitStrategy
boyceg Oct 4, 2019
0d17cd5
setup implicit solver to use Aitken extrapolation
boyceg Oct 5, 2019
66c12f9
add support for simple implicit interface to IBFEMethod
boyceg Oct 5, 2019
6597874
allow users to use either AITKEN or SNES implicit algorithms
boyceg Oct 5, 2019
be6468b
fix petsc header
boyceg Oct 5, 2019
3ce5ad2
add more information about the performance of AITKEN
boyceg Oct 5, 2019
d1eae30
fix error in Aitken specification
boyceg Oct 5, 2019
839ebf7
add some documentation for AITKEN
boyceg Oct 5, 2019
7fa2592
updated AITKEN implementation and added ANDERSON
boyceg Oct 5, 2019
7a99236
simplified implementation of AITKEN and ANDERSON extrapolation
boyceg Oct 6, 2019
b79b972
changed convergence test
boyceg Oct 6, 2019
876beaa
add IRONS-TUCK relaxation
boyceg Oct 6, 2019
74f7a28
update copyright
boyceg Dec 30, 2019
35c529d
clean up
boyceg Mar 4, 2023
bbc6c66
clean up
boyceg Mar 4, 2023
c7c9687
modernize IBImplicitHierarchyIntegrator
boyceg Mar 15, 2023
3129a53
cleanups
boyceg Dec 10, 2023
c4082a8
setup IBFE ex5 to work with the implicit solver
boyceg Dec 10, 2023
8ed58da
AB2 in INSStaggeredHierarchyIntegrator is now used for all cycles, no…
boyceg Dec 10, 2023
c8569a1
add sample implicit input files
boyceg Dec 10, 2023
d3001d0
compile IBHierarchyIntegrator instead of IBImplicitStaggeredHierarchy…
boyceg Dec 11, 2023
1be51f5
some updates
boyceg Dec 13, 2023
5e81167
some updates
boyceg Dec 15, 2023
0df6b54
some updates
boyceg Dec 20, 2023
169ca70
change IBFE ex4 to use a standard nearly incompressible neo-Hookean m…
boyceg Dec 28, 2023
47e819d
setup IBFEMethod to allow use of frozen L-E operators
boyceg Dec 28, 2023
0277e4a
add public function for computing CFL number
boyceg Dec 28, 2023
3253bc2
update HierarchyIntegrator::advanceHierarchy() interface to return th…
boyceg Dec 28, 2023
c31e86e
some updates
boyceg Dec 28, 2023
fe0be08
update time step size update
boyceg Dec 30, 2023
01d8532
simplify implicit solver setup
boyceg Jan 27, 2024
dc12668
add support for sources and sinks to the implicit solver
boyceg Jan 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add method to retreive updated position from IBImplicitStrategy
  • Loading branch information
boyceg committed Jan 26, 2024
commit 5e587ec86cedf9c4295eb3f14bd65670b2d82f68
5 changes: 5 additions & 0 deletions include/ibamr/IBImplicitStrategy.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ class IBImplicitStrategy : public IBStrategy
*/
virtual void setUpdatedPosition(Vec& X_new_vec) = 0;

/*!
* Get the value of the updated position vector.
*/
virtual void getUpdatedPosition(Vec& X_new_vec) = 0;

/*!
* Compute the nonlinear residual for backward Euler time stepping.
*/
Expand Down
5 changes: 5 additions & 0 deletions include/ibamr/IBMethod.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,11 @@ class IBMethod : public IBImplicitStrategy
*/
void setUpdatedPosition(Vec& X_new_vec) override;

/*!
* Get the value of the updated position vector.
*/
void getUpdatedPosition(Vec& X_new_vec) override;

/*!
* Compute the nonlinear residual for backward Euler time stepping.
*/
Expand Down
10 changes: 10 additions & 0 deletions src/IB/IBMethod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,16 @@ IBMethod::setUpdatedPosition(Vec& X_new_vec)
return;
} // setUpdatedPosition

void
IBMethod::getUpdatedPosition(Vec& X_new_vec)
{
PetscErrorCode ierr;
const int level_num = d_hierarchy->getFinestLevelNumber();
ierr = VecCopy(d_X_new_data[level_num]->getVec(), X_new_vec);
IBTK_CHKERRQ(ierr);
return;
} // getUpdatedPosition

void
IBMethod::computeResidualBackwardEuler(Vec& R_vec)
{
Expand Down