Line | |
---|
1 | /*!\file VerticesDofx
|
---|
2 | * \brief: establish degrees of freedom for all vertices: */
|
---|
3 |
|
---|
4 | #include "./VerticesDofx.h"
|
---|
5 |
|
---|
6 | #include "../../shared/shared.h"
|
---|
7 | #include "../../toolkits/toolkits.h"
|
---|
8 | #include "../../shared/Enum/Enum.h"
|
---|
9 |
|
---|
10 | void VerticesDofx( Vertices* vertices, Parameters* parameters) {
|
---|
11 |
|
---|
12 | /*intermediary: */
|
---|
13 | int numberofvertices;
|
---|
14 |
|
---|
15 | /*figure out how many vertices we have: */
|
---|
16 | numberofvertices=vertices->NumberOfVertices();
|
---|
17 |
|
---|
18 | /*Ensure that only for each cpu, the partition border vertices only will be
|
---|
19 | * taken into account once across the cluster. To do so, we flag all the
|
---|
20 | * clone vertices: */
|
---|
21 | vertices->FlagClones(numberofvertices);
|
---|
22 |
|
---|
23 | /*Go through all vertices and distribute pids*/
|
---|
24 | vertices->DistributePids(numberofvertices);
|
---|
25 |
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.