Skip to content
Snippets Groups Projects
Commit 72630e8c authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent 8537fde7
No related branches found
No related tags found
No related merge requests found
...@@ -412,11 +412,11 @@ function *functionProdNew(const function *f0, const function *f1) ...@@ -412,11 +412,11 @@ function *functionProdNew(const function *f0, const function *f1)
class functionExtractComp : public function { class functionExtractComp : public function {
public: public:
fullMatrix<double> _f0; fullMatrix<double> _f0;
double _iComp; int _iComp;
void call(dataCacheMap *m, fullMatrix<double> &val) void call(dataCacheMap *m, fullMatrix<double> &val)
{ {
for (int i=0; i<val.size1(); i++) for (int i = 0; i < val.size1(); i++)
val(i,0)= _f0(i,_iComp); val(i, 0) = _f0(i, _iComp);
} }
functionExtractComp(const function *f0, const int iComp) : function(1) functionExtractComp(const function *f0, const int iComp) : function(1)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment