-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* combined versions * removed unneeded coarsen diagram * copy over to begin pyMGM diagram * edits for pyMGM * add pymgm diagram png * add returned data in mgm2D
- Loading branch information
1 parent
4c38bfe
commit 7fb269b
Showing
6 changed files
with
87 additions
and
90 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,76 @@ | ||
@startuml | ||
|
||
abstract class mgm_py { | ||
+solve() | ||
+afun() | ||
+standalone() | ||
+multilevel() | ||
} | ||
|
||
class mgm2D_py { | ||
Lh | ||
x | ||
domArea | ||
stencilSize | ||
LevelsData < interpolator<> , restrictor<> , PointClouds<> > | ||
uh | ||
relres | ||
iters | ||
resvec | ||
+init() | ||
+constructor() | ||
+buildInterpOp() | ||
+plot() | ||
} | ||
|
||
class sqrpoisson { | ||
Lh | ||
x | ||
domVol | ||
fh | ||
uexact | ||
} | ||
|
||
class Demo_py { | ||
|
||
} | ||
|
||
|
||
|
||
class PcCoarsen2D_cpp { | ||
vector < Point2d > inputPoints | ||
vector < Point2d > outputPoints | ||
Nc = outputPoints.size | ||
|
||
+Coarsen() | ||
} | ||
|
||
|
||
|
||
class cyCodeBase_cpp { | ||
Point Cloud | ||
Heap | ||
+WeightedSampleElimination() | ||
|
||
|
||
} | ||
|
||
|
||
class polynomialBasis2D_py { | ||
|
||
} | ||
|
||
|
||
|
||
Demo_py -u-> sqrpoisson : Create Sample Data | ||
Demo_py -r-> mgm2D_py : Build mgm2D object\n with sqrpoisson input data | ||
mgm2D_py -u-|> mgm_py : inherits | ||
mgm2D_py -r-> PcCoarsen2D_cpp : pyBind linking to C++ | ||
PcCoarsen2D_cpp -r-> cyCodeBase_cpp : call cyCodeBase \n to coarsen levels | ||
mgm2D_py --> polynomialBasis2D_py | ||
|
||
|
||
|
||
|
||
|
||
@enduml |