Changeset 9293


Ignore:
Timestamp:
08/11/11 14:05:27 (14 years ago)
Author:
Mathieu Morlighem
Message:

Moved UpdateSpcsx to UpdateSpcsx

Location:
issm/trunk/src
Files:
1 added
1 deleted
5 edited
5 moved

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/Makefile.am

    r9291 r9293  
    566566                                        ./modules/Orthx/Orthx.h\
    567567                                        ./modules/Orthx/Orthx.cpp\
    568                                         ./modules/UpdateSpcsx/UpdateSpcsx.h\
    569                                         ./modules/UpdateSpcsx/UpdateSpcsx.cpp\
     568                                        ./modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.h\
     569                                        ./modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.cpp\
    570570                                        ./modules/Gradjx/Gradjx.h\
    571571                                        ./modules/Gradjx/Gradjx.cpp\
     
    12551255                                        ./modules/Orthx/Orthx.h\
    12561256                                        ./modules/Orthx/Orthx.cpp\
    1257                                         ./modules/UpdateSpcsx/UpdateSpcsx.h\
    1258                                         ./modules/UpdateSpcsx/UpdateSpcsx.cpp\
     1257                                        ./modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.h\
     1258                                        ./modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.cpp\
    12591259                                        ./modules/Gradjx/Gradjx.h\
    12601260                                        ./modules/Gradjx/Gradjx.cpp\
  • issm/trunk/src/c/modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.cpp

    r9292 r9293  
    1 /*!\file UpdateSpcsx
     1/*!\file UpdateDynamicConstraintsx
    22 * \brief module to update single point constraints  out of new spc vector, for next time step.
    33 */
    44
    5 #include "./UpdateSpcsx.h"
     5#include "./UpdateDynamicConstraintsx.h"
    66
    77#include "../../shared/shared.h"
     
    1010#include "../../EnumDefinitions/EnumDefinitions.h"
    1111
    12 void UpdateSpcsx(Nodes* nodes,Parameters* parameters,Vec ys){
     12void UpdateDynamicConstraintsx(Nodes* nodes,Parameters* parameters,Vec ys){
    1313       
    1414        int i;
  • issm/trunk/src/c/modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.h

    r9292 r9293  
    1 /*!\file:  UpdateSpcsx.h
     1/*!\file:  UpdateDynamicConstraintsx.h
    22 * \brief header file for updating single point constraints  for next time step
    33 */
    44
    5 #ifndef _UPDATESPCSX_H
    6 #define _UPDATESPCSX_H
     5#ifndef _UPDATEDYNAMICCONSTRAINTSXX_H
     6#define _UPDATEDYNAMICCONSTRAINTSXX_H
    77
    88#include "../../Container/Container.h"
    99#include "../../objects/objects.h"
    1010
    11 void UpdateSpcsx(Nodes* nodes,Parameters* parameters,Vec ys);
     11void UpdateDynamicConstraintsx(Nodes* nodes,Parameters* parameters,Vec ys);
    1212
    1313#endif  /* _UPDATESPCSX_H */
  • issm/trunk/src/c/modules/modules.h

    r9259 r9293  
    101101#include "./Solverx/Solverx.h"
    102102#include "./SpcNodesx/SpcNodesx.h"
    103 #include "./UpdateConstraintsx/UpdateConstraintsx.h"
    104103#include "./SurfaceAreax/SurfaceAreax.h"
    105104#include "./SystemMatricesx/SystemMatricesx.h"
     
    109108#include "./ThicknessAbsGradientx/ThicknessAbsGradientx.h"
    110109#include "./UpdateVertexPositionsx/UpdateVertexPositionsx.h"
    111 #include "./UpdateSpcsx/UpdateSpcsx.h"
     110#include "./UpdateConstraintsx/UpdateConstraintsx.h"
     111#include "./UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.h"
    112112#include "./VerticesDofx/VerticesDofx.h"
    113113#include "./VecMergex/VecMergex.h"
  • issm/trunk/src/c/solutions/ResetBoundaryConditions.cpp

    r8803 r9293  
    2828
    2929        /*update spcs using this new vector of constraints: */
    30         UpdateSpcsx(femmodel->nodes,femmodel->parameters,ys);
     30        UpdateDynamicConstraintsx(femmodel->nodes,femmodel->parameters,ys);
    3131
    3232        /*Free ressources:*/
  • issm/trunk/src/m/solutions/ResetBoundaryConditions.m

    r8812 r9293  
    1717
    1818        %update values of spcs inside nodes
    19         femmodel.nodes=UpdateSpcs(femmodel.nodes,femmodel.parameters,ys);
     19        femmodel.nodes=UpdateDynamicConstraints(femmodel.nodes,femmodel.parameters,ys);
  • issm/trunk/src/mex/Makefile.am

    r9262 r9293  
    8585                                InputUpdateFromVector\
    8686                                UpdateVertexPositions\
    87                                 UpdateSpcs\
     87                                UpdateDynamicConstraints\
    8888                                VerticesDof
    8989
     
    348348                          UpdateVertexPositions/UpdateVertexPositions.h
    349349
    350 UpdateSpcs_SOURCES = UpdateSpcs/UpdateSpcs.cpp\
    351                           UpdateSpcs/UpdateSpcs.h
     350UpdateDynamicConstraints_SOURCES = UpdateDynamicConstraints/UpdateDynamicConstraints.cpp\
     351                          UpdateDynamicConstraints/UpdateDynamicConstraints.h
    352352
    353353ParsePetscOptions_SOURCES = ParsePetscOptions/ParsePetscOptions.cpp\
    354354                          ParsePetscOptions/ParsePetscOptions.h
    355355
    356 
    357356VerticesDof_SOURCES = VerticesDof/VerticesDof.cpp\
    358357                          VerticesDof/VerticesDof.h
    359 
  • issm/trunk/src/mex/UpdateDynamicConstraints/UpdateDynamicConstraints.cpp

    r9284 r9293  
    1 /*\file UpdateSpcs.c
     1/*\file UpdateDynamicConstraints.c
    22 *\brief: update single point constraints inside nodes out of constrain vector ys
    33 */
    44
    5 #include "./UpdateSpcs.h"
    6 
     5#include "./UpdateDynamicConstraints.h"
    76
    87void mexFunction( int nlhs, mxArray* plhs[], int nrhs, const mxArray* prhs[]){
     
    1716
    1817        /*checks on arguments on the matlab side: */
    19         CheckNumMatlabArguments(nlhs,NLHS,nrhs,NRHS,__FUNCT__,&UpdateSpcsUsage);
     18        CheckNumMatlabArguments(nlhs,NLHS,nrhs,NRHS,__FUNCT__,&UpdateDynamicConstraintsUsage);
    2019
    2120        /*Input datasets: */
     
    2524       
    2625        /*!Generate internal degree of freedom numbers: */
    27         UpdateSpcsx(nodes,parameters,ys);
     26        UpdateDynamicConstraintsx(nodes,parameters,ys);
    2827
    2928        /*write output datasets: */
     
    3837}
    3938
    40 void UpdateSpcsUsage(void)
     39void UpdateDynamicConstraintsUsage(void)
    4140{
    4241        _printf_(true,"\n");
  • issm/trunk/src/mex/UpdateDynamicConstraints/UpdateDynamicConstraints.h

    r9284 r9293  
    1 
    21/*
    3         UpdateSpcs.h
     2        UpdateDynamicConstraints.h
    43*/
    5 
    64
    75#ifndef _UPDATESPCS_H
     
    97
    108/* local prototypes: */
    11 void UpdateSpcsUsage(void);
     9void UpdateDynamicConstraintsUsage(void);
    1210
    1311#include "../../c/modules/modules.h"
     
    1614
    1715#undef __FUNCT__
    18 #define __FUNCT__  "UpdateSpcs"
     16#define __FUNCT__  "UpdateDynamicConstraints"
    1917
    2018/* serial input macros: */
     
    3230#define NRHS  3
    3331
    34 
    3532#endif  /* _UPDATESPCS_H */
    36 
Note: See TracChangeset for help on using the changeset viewer.