Last change
on this file since 3913 was 3913, checked in by Eric.Larour, 15 years ago |
Moved all objects in Bamg to objects directory.
Moved all solutions from parallel to solutoins.
Moved all modules from top c/ directory to c/modules directory
cleaned up all object dependencies in Bamg/objects (fiouh!)
That will do for the week-end:)
|
File size:
793 bytes
|
Line | |
---|
1 | /*! \file CreateLoadsBalancedvelocities.c:
|
---|
2 | */
|
---|
3 |
|
---|
4 | #include "../../../DataSet/DataSet.h"
|
---|
5 | #include "../../../toolkits/toolkits.h"
|
---|
6 | #include "../../../io/io.h"
|
---|
7 | #include "../../../EnumDefinitions/EnumDefinitions.h"
|
---|
8 | #include "../../../objects/objects.h"
|
---|
9 | #include "../../../shared/shared.h"
|
---|
10 | #include "../../../include/include.h"
|
---|
11 | #include "../ModelProcessorx.h"
|
---|
12 |
|
---|
13 |
|
---|
14 | void CreateLoadsBalancedvelocities(DataSet** ploads, IoModel* iomodel,ConstDataHandle iomodel_handle){
|
---|
15 |
|
---|
16 | DataSet* loads = NULL;
|
---|
17 |
|
---|
18 | /*Create loads: */
|
---|
19 | loads = new DataSet(LoadsEnum);
|
---|
20 |
|
---|
21 | /*All our datasets are already order by ids. Set presort flag so that later on, when sorting is requested on these
|
---|
22 | * datasets, it will not be redone: */
|
---|
23 | loads->Presort();
|
---|
24 |
|
---|
25 | cleanup_and_return:
|
---|
26 |
|
---|
27 | /*Assign output pointer: */
|
---|
28 | *ploads=loads;
|
---|
29 |
|
---|
30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.