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

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
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 "../../EnumDefinitions/EnumDefinitions.h"
9
10void 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.