~elmer-csc-ubuntu/elmercsc/devel

« back to all changes in this revision

Viewing changes to fem/tests/Hybrid2dMeshPartitionMetisConnect/case.sif

  • Committer: GitHub
  • Author(s): Peter R
  • Date: 2017-10-04 13:47:14 UTC
  • mfrom: (575.1.17)
  • Revision ID: git-v1:91780af69137b74ec539fedc4ad70c9ec52d732a
Merge pull request #115 from ElmerCSC/metis_update

Updated to new Metis API for devel branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
!---------------------------------------------------------
 
2
! Test case for the consistency of partitioning.
 
3
! This case is partitoned exactly using Metis partitioning
 
4
! into 8 partitions. The number of 
 
5
! partitions can not be freely chosen here.
 
6
!
 
7
! This case additionally includes connected elements that are partitioned to
 
8
! partition 1. 
 
9
!
 
10
! P.R. 2.5.2016
 
11
!------------------------------------------------------------
 
12
 
 
13
Header
 
14
  Mesh DB "." "circle_in_box"
 
15
  Include Path ""
 
16
  Results Directory ""
 
17
End 
 
18
 
 
19
 
 
20
Simulation
 
21
  Max Output Level = 5
 
22
  Coordinate System = Cartesian 
 
23
  Coordinate Mapping(3) = 1 2 3
 
24
  Simulation Type = Steady
 
25
  Steady State Max Iterations = 1
 
26
  Output Intervals = 0
 
27
 
 
28
  Mesh Levels = 1
 
29
End
 
30
 
 
31
Constants
 
32
  Gravity(4) = 0 -1 0 9.82
 
33
  Stefan Boltzmann = 5.67e-8
 
34
End
 
35
 
 
36
Body 1
 
37
  Name = "Body"
 
38
  Equation = 1
 
39
  Material = 1 
 
40
End
 
41
 
 
42
Equation 1
 
43
  Name = "CheckPart"
 
44
  Active Solvers = 1 
 
45
End
 
46
 
 
47
 
 
48
Material 1
 
49
  Name = "None"
 
50
End
 
51
 
 
52
 
 
53
Solver 1
 
54
  Equation = SaveScalars
 
55
  Procedure = "SaveData" "SaveScalars"
 
56
 
 
57
  Parallel Reduce = Logical True
 
58
 
 
59
  Filename = f.dat
 
60
 
 
61
  Operator 1 = partitions
 
62
  Operator 2 = partition checksum
 
63
  Operator 3 = partition neighbours checksum
 
64
 
 
65
  Show Norm Index = 1
 
66
 
 
67
End 
 
68
 
 
69
! check that there are 8 partitions 
 
70
Solver 1:: Reference Norm = 8
 
71
RUN
 
72
 
 
73
! check the global numbering 
 
74
Solver 1:: Show Norm Index = 2
 
75
Solver 1:: Reference Norm = 3.68220880E+07
 
76
RUN
 
77
 
 
78
! check the neighbours
 
79
Solver 1:: Show Norm Index = 3 
 
80
Solver 1:: Reference Norm = 9.87340000E+04
 
81
RUN