Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
small_fem
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gmsh
small_fem
Commits
6d897700
Commit
6d897700
authored
4 years ago
by
Nicolas Marsic
Browse files
Options
Downloads
Patches
Plain Diff
partitioning for new photon trap .geo
parent
bbc0517b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/haroche/cavity.dat
+5
-4
5 additions, 4 deletions
tests/haroche/cavity.dat
tests/haroche/partition.geo
+15
-0
15 additions, 0 deletions
tests/haroche/partition.geo
with
20 additions
and
4 deletions
tests/haroche/cavity.dat
+
5
−
4
View file @
6d897700
...
...
@@ -45,10 +45,11 @@ pml_z = thick * Lambda0;
// Mesh
DefineConstant[
mAir = { 8, Name "Input/03Mesh/00Air density", Units "elem./wavelength" },
mPML = { 8, Name "Input/03Mesh/01PML density", Units "elem./wavelength" },
mMir = { 8, Name "Input/03Mesh/02Mirror density", Units "elem./wavelength" },
mO = { 2, Name "Input/03Mesh/03Order", Units "-" }
mAir = { 5, Name "Input/03Mesh/00Air density", Units "elem./wavelength" },
mPML = { 5, Name "Input/03Mesh/01PML density", Units "elem./wavelength" },
mMir = { 5, Name "Input/03Mesh/02Mirror density", Units "elem./wavelength" },
mO = { 2, Name "Input/03Mesh/03Order", Units "-" },
nPart = { 2, Name "Input/03Mesh/04#partitions", Units "-" }
];
clPML = Lambda0 / mPML;
...
...
This diff is collapsed.
Click to expand it.
tests/haroche/partition.geo
0 → 100644
+
15
−
0
View file @
6d897700
// Data //
//////////
Include "cavity.dat";
Merge "cavity.msh";
// Partitioning //
//////////////////
Mesh.PartitionCreateTopology = 0;
Mesh.PartitionCreatePhysicals = 0;
Mesh.PartitionCreateGhostCells = 0;
If(nPart > 1)
PartitionMesh nPart;
Save Sprintf("cavity_part%g.msh", nPart);
EndIf
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment