-
Notifications
You must be signed in to change notification settings - Fork 5
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
Eqp train #48
Merged
Merged
Eqp train #48
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…es are view arrays.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fully addresses the issue #40
SampleInfo change for EQP
SampleInfo
now only storesint el
instead offace
,be
anditf
, and uses it according toIntegratorType
.ROMNonlinearForm
andROMInterfaceForm
takesArray<SampleInfo>
instead of 3 sub-Array
sBasisTag updates
BasisTag
, instead ofstd::string
.TrainMode
is abolished.HDF5 utilities
ReadAttribute
andWriteAttribute
forBasisTag
ReadDataset
andWriteDataset
forArray<SampleInfo>
ReadDataset
andWriteDataset
does not actually read/write the data, if the data size is 0.ROMInterfaceForm EQP routines
ROMInterfaceForm
now only takes basis and EQP samples for the component and the reference ports. This is supported forSubMeshTopologyHandler
as well, as it takes all subdomains as unique components.SaveEQPForIntegrator
LoadEQPForIntegrator
Snapshot sample collection routine
SampleGenerator
can collect snapshot files in two different modes:CollectSnapshotsByBasis
: collect snapshots for each basis, specified the list of files for basis.CollectSnapshotsByPort
: collect snapshots according to a port snapshot file. The port snapshot file contains the absolute paths to all associated snapshot files, and relevant interface information.MultiBlockSolver member functions for nonlinear ROM elements
Member functions for nonlinear ROM elements are consolidated to:
AllocateROMNlinElems
BuildROMTensorElems
TrainROMEQPElems
SaveROMNlinElems
LoadROMNlinElems
AssembleROMNlinOper
InitVariables
does not executeInitROMHandler
by default any more, andInitROMHandler
is explicitly executed throughout the main workflow.SteadyNSSolver EQP with Lax-Friedrichs Flux integrator
SteadyNSSolver
now supports EQP with Lax-Friedrichs flux integrator. Training/Assembly of EQP from component level is newly implemented.New parameterized problems for Navier-Stokes equation
lid_driven_cavity
force_driven_corner
SubMeshTopologyHandler supports component level
SubMeshTopologyHandler
now represents each subdomain as a unique component (thus each port as a unique reference port).Error flag for self interface
Though theoretically possible, currently
ComponentTopologyHandler
cannot handle an interface to a mesh itself. This use is prevented by an error flag.