Chi-Tech
chi_physics__field_operations__PartitionerPredicate.h
Go to the documentation of this file.
1/** \defgroup chi_physics__field_operations__PartitionerPredicate chi_physics.field_operations.PartitionerPredicate
2
3
4\ingroup DocFieldOperation
5Field operation that will write to the field the result of a partitioning operation
6
7
8## Example usage:
9Create this object:
10\code
11params =
12{
13 param_name1 = value1,
14 param_name2 = value2,
15 --etc.
16}
17chi_physics.field_operations.PartitionerPredicate.Create(params)
18\endcode
19## Required Input parameters
20\htmlonly
21
22<div style="display: block;">
23<button type="button" class="droppy2" style=
24"
25background-color: #edf0f5;
26color: #9373A5;
27cursor: pointer;
28border: none;
29text-align: left;
30outline: none;
31font-size: 15px;
32margin: 2px 2px;
33border: 2px solid #687372;
34display: block;
35width: 100%;
36vertical-align: middle;
37padding-top: 4px;
38padding-bottom: 0px;
39"
40><span class="arrow" style="padding-left: 0px;">►</span><TT><B>num_partitions</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspNumber of parts to apply to the partitioning</span></button>
41<div class="content" style="display: none;">
42 <p><I>type=</I><span style="color: blue;"><TT>INTEGER</TT></span>. Number of parts to apply to the partitioning
43</p>
44</div>
45
46<button type="button" class="droppy2" style=
47"
48background-color: #edf0f5;
49color: #9373A5;
50cursor: pointer;
51border: none;
52text-align: left;
53outline: none;
54font-size: 15px;
55margin: 2px 2px;
56border: 2px solid #687372;
57display: block;
58width: 100%;
59vertical-align: middle;
60padding-top: 4px;
61padding-bottom: 0px;
62"
63><span class="arrow" style="padding-left: 0px;">►</span><TT><B>partitioner</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspHandle to a GraphPartitioner object to use for parallel partitioning</span></button>
64<div class="content" style="display: none;">
65 <p><I>type=</I><span style="color: blue;"><TT>INTEGER</TT></span>. Handle to a GraphPartitioner object to use for parallel partitioning.
66</p>
67</div>
68
69<button type="button" class="droppy2" style=
70"
71background-color: #edf0f5;
72color: #9373A5;
73cursor: pointer;
74border: none;
75text-align: left;
76outline: none;
77font-size: 15px;
78margin: 2px 2px;
79border: 2px solid #687372;
80display: block;
81width: 100%;
82vertical-align: middle;
83padding-top: 4px;
84padding-bottom: 0px;
85"
86><span class="arrow" style="padding-left: 0px;">►</span><TT><B>result_field</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspHandle to, or name of, the field function that should receive the result of the operation</span></button>
87<div class="content" style="display: none;">
88 <p><I>type=</I><span style="color: blue;"><TT>INTEGER</TT></span>. Handle to, or name of, the field function that should receive the result of the operation.
89</p>
90</div>
91
92</div>
93\endhtmlonly
94
95## Optional Input parameters
96\htmlonly
97
98<div style="display: block;">
99<button type="button" class="droppy2" style=
100"
101background-color: #edf0f5;
102color: #9373A5;
103cursor: pointer;
104border: none;
105text-align: left;
106outline: none;
107font-size: 15px;
108margin: 2px 2px;
109border: 2px solid #687372;
110display: block;
111width: 100%;
112vertical-align: middle;
113padding-top: 4px;
114padding-bottom: 0px;
115"
116><span class="arrow" style="padding-left: 0px;">►</span><TT><B>result_component</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspResulting component into which the result will be written</span></button>
117<div class="content" style="display: none;">
118 <p><I>type=</I><span style="color: blue;"><TT>INTEGER</TT></span>. Resulting component into which the result will be written.
119</p>
120 <p>Default value: <TT style="color:grey">0</TT></p>
121</div>
122
123</div>
124\endhtmlonly
125
126\htmlonly
127
128<script>
129
130{
131 var coll = document.getElementsByClassName("droppy2");
132 var i;
133
134 for (i = 0; i < coll.length; i++) {
135 coll[i].addEventListener("click", function() {
136 this.classList.toggle("active");
137 var content = this.nextElementSibling;
138 if (content.style.display === "block") {
139 content.style.display = "none";
140 this.childNodes[0].innerText = "►"
141 } else {
142 content.style.display = "block";
143 this.children[0].innerText = "▼"
144 }
145 });
146 }
147}</script>
148
149\endhtmlonly
150
151*/