Ignore:
Timestamp:
10/11/10 10:30:18 (14 years ago)
Author:
Eric.Larour
Message:

Took out partition and tpartition vectors, not needed anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/Container/Vertices.cpp

    r4221 r6231  
    4343
    4444/*Numerics management*/
    45 /*FUNCTION Vertices::CreatePartitioningVector{{{1*/
    46 void  Vertices::CreatePartitioningVector(Vec* ppartition,int numberofobjects){
    47 
    48         int i;
    49 
    50         /*output: */
    51         Vec partition=NULL;
    52 
    53         /*Create partition vector: */
    54         partition=NewVec(numberofobjects);
    55 
    56         /*Go through all objects, and ask each object to plug its doflist in
    57          * partition: */
    58 
    59         for(i=0;i<this->Size();i++){
    60                 Vertex* vertex=(Vertex*)this->GetObjectByOffset(i);
    61                 vertex->CreatePartition(partition);
    62         }
    63 
    64         /*Assemble the petsc vector: */
    65         VecAssemblyBegin(partition);
    66         VecAssemblyEnd(partition);
    67 
    68         /*Assign output pointers: */
    69         *ppartition=partition;
    70 }
    71 /*}}}*/
    7245/*FUNCTION Vertices::DistributeDofs{{{1*/
    7346void  Vertices::DistributeDofs(int numberofobjects,int numberofdofsperobject){
Note: See TracChangeset for help on using the changeset viewer.