-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time spectral finite-element implementation #194
Conversation
@@ -56,6 +56,9 @@ class BCSRMat : public TACSObject { | |||
// Free the matrix | |||
~BCSRMat(); | |||
|
|||
// Create a duplicate of the matrix without copying values | |||
BCSRMat *createDuplicate(); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gjkennedy using Fortran terminology: a mold() function would allocate but doesn't copy values
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think duplicate is a nice description for this. This function will be used infrequently and typically not in instances when you actually want to copy the values of the matrix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, we'll have to add a problem wrapper for this in pytacs at some point
This code implements a time-spectral approach for integrating the equations of motion in time. This is only for first-order systems in time (such as thermal problems) and could be extended to second-order systems or periodic systems.