-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace the mesh in the cashocs as solver (for shape optimization) wi…
…th a custom mesh.
- Loading branch information
Showing
10 changed files
with
2,885 additions
and
18 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
10 changes: 10 additions & 0 deletions
10
demos/documented/cashocs_as_solver/shape_solver/mesh/mesh.geo
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,10 @@ | ||
lc = 7.5e-2; | ||
|
||
SetFactory("OpenCASCADE"); | ||
Disk(1) = {0, 0, 0, 1, 1}; | ||
|
||
Mesh.MeshSizeMax = lc; | ||
Mesh.MeshSizeMin = 0.0; | ||
|
||
Physical Curve(1) = {1}; | ||
Physical Surface(1) = {1}; |
Binary file not shown.
Oops, something went wrong.