Ignore:
Timestamp:
05/05/09 14:11:46 (16 years ago)
Author:
Eric.Larour
Message:

New parameter inputs framework, that can adapt to unknow number of dofs problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/DataSet/DataSet.cpp

    r202 r246  
    881881#undef __FUNCT__
    882882#define __FUNCT__ "DataSet::CreateKMatrix"
    883 void  DataSet::CreateKMatrix(Mat Kgg,ParameterInputs* inputs,int analysis_type){
     883void  DataSet::CreateKMatrix(Mat Kgg,void* inputs,int analysis_type){
    884884
    885885        vector<Object*>::iterator object;
     
    905905#undef __FUNCT__
    906906#define __FUNCT__ "DataSet::CreatePVector"
    907 void  DataSet::CreatePVector(Vec pg,ParameterInputs* inputs,int analysis_type){
     907void  DataSet::CreatePVector(Vec pg,void* inputs,int analysis_type){
    908908
    909909        vector<Object*>::iterator object;
     
    929929#undef __FUNCT__               
    930930#define __FUNCT__ "UpdateFromInputs"
    931 void  DataSet::UpdateFromInputs(ParameterInputs* inputs){
     931void  DataSet::UpdateFromInputs(void* inputs){
    932932
    933933        vector<Object*>::iterator object;
     
    965965#undef __FUNCT__
    966966#define __FUNCT__ "DataSet::PenaltyCreateKMatrix"
    967 void  DataSet::PenaltyCreateKMatrix(Mat Kgg,ParameterInputs* inputs,double kmax,int analysis_type){
     967void  DataSet::PenaltyCreateKMatrix(Mat Kgg,void* inputs,double kmax,int analysis_type){
    968968
    969969        vector<Object*>::iterator object;
     
    983983#undef __FUNCT__
    984984#define __FUNCT__ "DataSet::PenaltyCreatePVector"
    985 void  DataSet::PenaltyCreatePVector(Vec pg,ParameterInputs* inputs,double kmax,int analysis_type){
     985void  DataSet::PenaltyCreatePVector(Vec pg,void* inputs,double kmax,int analysis_type){
    986986
    987987        vector<Object*>::iterator object;
     
    10091009#undef __FUNCT__
    10101010#define __FUNCT__ "RiftConstraints"
    1011 void  DataSet::RiftConstraints(int* pnum_unstable_constraints,ParameterInputs* inputs,int analysis_type){
     1011void  DataSet::RiftConstraints(int* pnum_unstable_constraints,void* inputs,int analysis_type){
    10121012       
    10131013        throw ErrorException(__FUNCT__," not implemented yet!");
     
    10261026#undef __FUNCT__
    10271027#define __FUNCT__ "MeltingConstraints"
    1028 void  DataSet::MeltingConstraints(int* pnum_unstable_constraints,ParameterInputs* inputs,int analysis_type){
     1028void  DataSet::MeltingConstraints(int* pnum_unstable_constraints,void* inputs,int analysis_type){
    10291029
    10301030        throw ErrorException(__FUNCT__," not implemented yet!");
     
    10651065
    10661066
    1067 void  DataSet::Du(Vec du_g,double*  u_g,double* u_g_obs,ParameterInputs* inputs,int analysis_type){
     1067void  DataSet::Du(Vec du_g,double*  u_g,double* u_g_obs,void* inputs,int analysis_type){
    10681068
    10691069
     
    10831083}
    10841084
    1085 void  DataSet::Gradj(Vec grad_g,double*  u_g,double* lambda_g,ParameterInputs* inputs,int analysis_type,char* control_type){
     1085void  DataSet::Gradj(Vec grad_g,double*  u_g,double* lambda_g,void* inputs,int analysis_type,char* control_type){
    10861086
    10871087
     
    11011101}               
    11021102               
    1103 void  DataSet::Misfit(double* pJ, double* u_g,double* u_g_obs,ParameterInputs* inputs,int analysis_type){
     1103void  DataSet::Misfit(double* pJ, double* u_g,double* u_g_obs,void* inputs,int analysis_type){
    11041104
    11051105        double J=0;;
Note: See TracChangeset for help on using the changeset viewer.