31 lines
543 B
C++
31 lines
543 B
C++
// jacobian.h
|
|
//
|
|
// Author: J.A. de Jong
|
|
//
|
|
// Description:
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
#pragma once
|
|
#ifndef JACOBIAN_H
|
|
#define JACOBIAN_H
|
|
|
|
#include "jacrow.h"
|
|
|
|
class TripletList;
|
|
|
|
class Jacobian{
|
|
us ndofs_;
|
|
public:
|
|
Jacobian(us ndofs):ndofs_(ndofs){}
|
|
vector<JacRow> jacrows;
|
|
void operator+=(const Jacobian&);
|
|
void operator+=(const JacRow&);
|
|
operator TripletList() const;
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // JACOBIAN_H
|
|
//////////////////////////////////////////////////////////////////////
|