/*!\file:  Reducematrixfromgtofx.h
 * \brief reduce petsc matrix from g set to fset: 
 */


#ifndef _REDUCEMATRIXFROMGTOFX_H
#define _REDUCEMATRIXFROMGTOFX_H

#include "../objects/objects.h"

/* local prototypes: */
void	Reducematrixfromgtofx( Mat* pKff, Mat* pKfs,Mat Kgg,Mat Gmn,NodeSets* nodesets);
void    Reducematrixfromgton(Mat* pKnn,Mat Kgg,Mat Gmn,double* pv_m,int msize, double* pv_n,int nsize,int flag);

#endif  /* _REDUCEMATRIXFROMGTOFX_H */

