-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PINN variants addition and Solvers Update (#263)
* gpinn/basepinn new classes, pinn restructure * codacy fix gpinn/basepinn/pinn * inverse problem fix * Causal PINN (#267) * fix GPU training in inverse problem (#283) * Create a `compute_residual` attribute for `PINNInterface` * Modify dataloading in solvers (#286) * Modify PINNInterface by removing _loss_phys, _loss_data * Adding in PINNInterface a variable to track the current condition during training * Modify GPINN,PINN,CausalPINN to match changes in PINNInterface * Competitive Pinn Addition (#288) * fixing after rebase/ fix loss * fixing final issues --------- Co-authored-by: Dario Coscia <[email protected]> * Modify min max formulation to max min for paper consistency * Adding SAPINN solver (#291) * rom solver * fix import --------- Co-authored-by: Dario Coscia <[email protected]> Co-authored-by: Anna Ivagnes <[email protected]> Co-authored-by: valc89 <[email protected]> Co-authored-by: Monthly Tag bot <[email protected]> Co-authored-by: Nicola Demo <[email protected]>
- Loading branch information
1 parent
39dc6c4
commit e0429bb
Showing
29 changed files
with
3,838 additions
and
358 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
PINNInterface | ||
================= | ||
.. currentmodule:: pina.solvers.pinns.basepinn | ||
|
||
.. autoclass:: PINNInterface | ||
:members: | ||
:show-inheritance: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CausalPINN | ||
============== | ||
.. currentmodule:: pina.solvers.pinns.causalpinn | ||
|
||
.. autoclass:: CausalPINN | ||
:members: | ||
:show-inheritance: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CompetitivePINN | ||
================= | ||
.. currentmodule:: pina.solvers.pinns.competitive_pinn | ||
|
||
.. autoclass:: CompetitivePINN | ||
:members: | ||
:show-inheritance: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
GPINN | ||
====== | ||
.. currentmodule:: pina.solvers.pinns.gpinn | ||
|
||
.. autoclass:: GPINN | ||
:members: | ||
:show-inheritance: |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ReducedOrderModelSolver | ||
========================== | ||
.. currentmodule:: pina.solvers.rom | ||
|
||
.. autoclass:: ReducedOrderModelSolver | ||
:members: | ||
:show-inheritance: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SAPINN | ||
====== | ||
.. currentmodule:: pina.solvers.pinns.sapinn | ||
|
||
.. autoclass:: SAPINN | ||
:members: | ||
:show-inheritance: |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
__all__ = ["PINN", "GAROM", "SupervisedSolver", "SolverInterface"] | ||
__all__ = [ | ||
"SolverInterface", | ||
"PINNInterface", | ||
"PINN", | ||
"GPINN", | ||
"CausalPINN", | ||
"CompetitivePINN", | ||
"SAPINN", | ||
"SupervisedSolver", | ||
"ReducedOrderModelSolver", | ||
"GAROM", | ||
] | ||
|
||
from .garom import GAROM | ||
from .pinn import PINN | ||
from .supervised import SupervisedSolver | ||
from .solver import SolverInterface | ||
from .pinns import * | ||
from .supervised import SupervisedSolver | ||
from .rom import ReducedOrderModelSolver | ||
from .garom import GAROM | ||
|
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
__all__ = [ | ||
"PINNInterface", | ||
"PINN", | ||
"GPINN", | ||
"CausalPINN", | ||
"CompetitivePINN", | ||
"SAPINN", | ||
] | ||
|
||
from .basepinn import PINNInterface | ||
from .pinn import PINN | ||
from .gpinn import GPINN | ||
from .causalpinn import CausalPINN | ||
from .competitive_pinn import CompetitivePINN | ||
from .sapinn import SAPINN |
Oops, something went wrong.