Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Examples/AMReX/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ To select different geometries, set which_geom to one of the below.

* which_geom = 0 (Airfoil)
* which_geom = 1 (Sphere)
* which_geom = 2 (Car) This examples breaks due to AMReX's EB limitations.
* which_geom = 2 (Dodecahedron)
6 changes: 3 additions & 3 deletions Examples/AMReX/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ int main (int argc, char* argv[])
rb = RealBox({-400,-400,-400}, {400,400,400});
filename = "../PLY/sphere.ply";
}
else if (which_geom == 2){ // Car geometry
rb = RealBox({-20.,-20.,-20.}, {20.,20.,20.});
filename = "../PLY/porsche.ply";
else if (which_geom == 2){ // Dodecahedron
rb = RealBox({-2.,-2.,-2.}, {2.,2.,2.});
filename = "../PLY/dodecahedron.ply";
}

Array<int,AMREX_SPACEDIM> is_periodic{false, false, false};
Expand Down
11 changes: 10 additions & 1 deletion Examples/PLY/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
This folder contains various PLY surface grids.
This folder contains various PLY surface grids and remarks on where the data was obtained what was done with it.

| Model Name | Image | PLY file | Source | Note |
|------------|-------|---------------|------------|------|
| Airfoil | <img src="img/airfoil.png" width="200"/> | [.ply](airfoil.ply) | [AMReX](http://git@github.com/AMReX-Codes/amrex-tutorials.git) | Converted from STL to PLY |
| Armadillo | <img src="img/armadillo.png" width="200"/> | [.ply](armadillo.ply) | [Stanford](http://graphics.stanford.edu/data/3Dscanrep/) | |
| Dodecahedron | <img src="img/dodecahedron.png" width="200"/> | [.ply](dodecahedron.ply) | [John Burkardt](https://people.sc.fsu.edu/~jburkardt/data/ply/ply.html) | |
| Horse | <img src="img/horse.png" width="200"/> | [.ply](horse.ply) | [Alec Jacobson](https://github.com/alecjacobson/common-3d-test-models) | Repaired using MeshLab |
| Orion | <img src="img/orion.png" width="200"/> | [.ply](orion.ply) | [NASA](https://nasa3d.arc.nasa.gov/detail/orion-capsule) | |
| Sphere | <img src="img/sphere.png" width="200"/> | [.ply](sphere.ply) | [John Burkardt](https://people.sc.fsu.edu/~jburkardt/data/ply/ply.html) | |
Loading