|
Last change
on this file since 12878 was 12878, checked in by cborstad, 14 years ago |
|
merged trunk-jpl into trunk-jpl-damage through revision 12877
|
|
File size:
755 bytes
|
| Line | |
|---|
| 1 | /*!\file: AddExternalResultx.cpp
|
|---|
| 2 | * \brief: go through our finite elements, and see what results they have stored within.
|
|---|
| 3 | * Then output them into serialized patch arrays, and dump to disk.
|
|---|
| 4 | */
|
|---|
| 5 |
|
|---|
| 6 | #include "./AddExternalResultx.h"
|
|---|
| 7 | #include "../../Container/Container.h"
|
|---|
| 8 | #include "../../io/io.h"
|
|---|
| 9 | #include "../../classes/objects/objects.h"
|
|---|
| 10 |
|
|---|
| 11 | void AddExternalResultx( DataSet* results, int enumtype, double value){
|
|---|
| 12 | /* Add new result in into results*/
|
|---|
| 13 | results->AddObject(new DoubleExternalResult(results->Size()+1,enumtype,value,1,0));
|
|---|
| 14 | }
|
|---|
| 15 | void AddExternalResultx( DataSet* results, int enumtype, double* value, int nraws){
|
|---|
| 16 | /* Add new result in into results*/
|
|---|
| 17 | results->AddObject(new DoubleVecExternalResult(results->Size()+1,enumtype,value,nraws,1,0));
|
|---|
| 18 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.