source: issm/trunk-jpl/src/c/modules/VerticesDofx/VerticesDofx.cpp@ 14999

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
RevLine 
[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
[6231]9void VerticesDofx( Vertices* vertices, Parameters* parameters) {
[4168]10
11 /*intermediary: */
12 int numberofvertices;
13
14 /*figure out how many vertices we have: */
[4185]15 numberofvertices=vertices->NumberOfVertices();
[4168]16
[13410]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: */
[4168]20 vertices->FlagClones(numberofvertices);
21
[13410]22 /*Go through all vertices and distribute pids*/
23 vertices->DistributePids(numberofvertices);
[4168]24
25}
Note: See TracBrowser for help on using the repository browser.