Ignore:
Timestamp:
10/11/13 12:45:40 (11 years ago)
Author:
Eric.Larour
Message:

NEW: new capbility to request outputs that can be defined very widely in the outputdefinition field
of the model. For now, we have implemented the massfluxatgate definition, which can be referred to
inthe requested_outputs field of stressbalance, transient and masstransport solutions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/classes/FemModel.cpp

    r16374 r16388  
    1313#include "../shared/io/io.h"
    1414#include "./classes.h"
     15#include "./modules/modules.h"
    1516#include "../shared/Enum/Enum.h"
    1617
     
    503504                                results->AddObject(new GenericExternalResult<double>(results->Size()+1,MaxVelEnum,reCast<IssmPDouble>(output_value),step,time));
    504505                        }
     506                        else if (StringToEnumx(output_string,false)==-1){
     507                                /*This response can only be computed by going into the output definitions: */
     508                                output_value=OutputDefinitionsResponsex(this,output_string);
     509                                results->AddObject(new GenericExternalResult<double>(results->Size()+1,output_string,reCast<IssmPDouble>(output_value),step,time));
     510                        }
    505511                        else{
    506512                                /*create this output in the element inputs, and then transfer to results:*/
Note: See TracChangeset for help on using the changeset viewer.