Last change
on this file since 14917 was 14917, checked in by Eric.Larour, 12 years ago |
CHG: got rid of the include/include.h headere file, finally :)
|
File size:
753 bytes
|
Rev | Line | |
---|
[4168] | 1 | /*!\file VerticesDofx
|
---|
[6231] | 2 | * \brief: establish degrees of freedom for all vertices: */
|
---|
[4168] | 3 |
|
---|
| 4 | #include "./VerticesDofx.h"
|
---|
| 5 |
|
---|
| 6 | #include "../../shared/shared.h"
|
---|
| 7 | #include "../../toolkits/toolkits.h"
|
---|
| 8 | #include "../../EnumDefinitions/EnumDefinitions.h"
|
---|
| 9 |
|
---|
[6231] | 10 | void VerticesDofx( Vertices* vertices, Parameters* parameters) {
|
---|
[4168] | 11 |
|
---|
| 12 | /*intermediary: */
|
---|
| 13 | int numberofvertices;
|
---|
| 14 |
|
---|
| 15 | /*figure out how many vertices we have: */
|
---|
[4185] | 16 | numberofvertices=vertices->NumberOfVertices();
|
---|
[4168] | 17 |
|
---|
[13410] | 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: */
|
---|
[4168] | 21 | vertices->FlagClones(numberofvertices);
|
---|
| 22 |
|
---|
[13410] | 23 | /*Go through all vertices and distribute pids*/
|
---|
| 24 | vertices->DistributePids(numberofvertices);
|
---|
[4168] | 25 |
|
---|
| 26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.