-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
set_bc_dir is set to use the new variables in the definitions:
svMultiPhysics/Code/Source/solver/set_bc.cpp
Lines 759 to 774 in 2a03051
| /// @brief Apply Dirichlet BCs strongly. | |
| /// | |
| /// Parameters | |
| /// lA - New time derivative of variables (An) | |
| /// lY - New variables (Yn) | |
| /// lD - New integrated variables (Dn) | |
| /// | |
| /// Modfies: | |
| /// lA(tDof, tnNo) | |
| /// lY(tDof, tnNo) | |
| /// lD(tDof, tnNo) | |
| /// com_mod.Ad - Time derivative of displacement | |
| /// | |
| /// Reproduces 'SUBROUTINE SETBCDIR(lA, lY, lD)' | |
| // | |
| void set_bc_dir(ComMod& com_mod, Array<double>& lA, Array<double>& lY, Array<double>& lD) |
However, we seem to use the old variables when calling the functions
svMultiPhysics/Code/Source/solver/initialize.cpp
Lines 831 to 838 in 2a03051
| // Making sure the old solution satisfies BCs | |
| // | |
| // Modifes | |
| // com_mod.Ao - Old time derivative of variables (acceleration) | |
| // com_mod.Yo - Old variables (velocity) | |
| // com_mod.Do - Old integrated variables (dissplacement) | |
| // | |
| set_bc::set_bc_dir(com_mod, com_mod.Ao, com_mod.Yo, com_mod.Do); |
Any thoughts, @ktbolt ?
Expected behavior
Still pass the test, so we suspect it is just a naming issue?
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct and Contributing Guidelines
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working