| 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 | void CreateLoadsBalancedvelocities(DataSet** ploads, IoModel* iomodel,ConstDataHandle iomodel_handle){
|
|---|
| 14 |
|
|---|
| 15 | /*DataSet*/
|
|---|
| 16 | DataSet* loads=NULL;
|
|---|
| 17 |
|
|---|
| 18 | /*Recover pointer: */
|
|---|
| 19 | loads=*ploads;
|
|---|
| 20 |
|
|---|
| 21 | /*Create loads if they do not exist yet*/
|
|---|
| 22 | if(!loads) loads = new DataSet(LoadsEnum);
|
|---|
| 23 |
|
|---|
| 24 | /*Assign output pointer: */
|
|---|
| 25 | *ploads=loads;
|
|---|
| 26 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.