Skip to content
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

Merged
merged 11 commits into from
Apr 7, 2023

Conversation

gjkennedy
Copy link
Collaborator

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.

@@ -56,6 +56,9 @@ class BCSRMat : public TACSObject {
// Free the matrix
~BCSRMat();

// Create a duplicate of the matrix without copying values
BCSRMat *createDuplicate();

Copy link
Contributor

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

Copy link
Collaborator Author

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.

@gjkennedy gjkennedy marked this pull request as ready for review April 7, 2023 14:03
@gjkennedy gjkennedy requested a review from timryanb April 7, 2023 16:03
Copy link
Collaborator

@timryanb timryanb left a 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

@gjkennedy gjkennedy merged commit 047e1ce into smdogroup:master Apr 7, 2023
@gjkennedy gjkennedy deleted the spectral branch April 7, 2023 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants