|
Last change
on this file since 14999 was 14999, checked in by Eric.Larour, 12 years ago |
|
CHG: modules should include shared.h, and that's it.
|
|
File size:
702 bytes
|
| 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 |
|
|---|
| 9 | void VerticesDofx( Vertices* vertices, Parameters* parameters) {
|
|---|
| 10 |
|
|---|
| 11 | /*intermediary: */
|
|---|
| 12 | int numberofvertices;
|
|---|
| 13 |
|
|---|
| 14 | /*figure out how many vertices we have: */
|
|---|
| 15 | numberofvertices=vertices->NumberOfVertices();
|
|---|
| 16 |
|
|---|
| 17 | /*Ensure that only for each cpu, the partition border vertices only will be
|
|---|
| 18 | * taken into account once across the cluster. To do so, we flag all the
|
|---|
| 19 | * clone vertices: */
|
|---|
| 20 | vertices->FlagClones(numberofvertices);
|
|---|
| 21 |
|
|---|
| 22 | /*Go through all vertices and distribute pids*/
|
|---|
| 23 | vertices->DistributePids(numberofvertices);
|
|---|
| 24 |
|
|---|
| 25 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.