List of all members | Public Member Functions | Public Attributes
casadi::MumpsMemory Struct Reference

#include <mumps_interface.hpp>

Detailed Description

Definition at line 48 of file mumps_interface.hpp.

Inheritance diagram for casadi::MumpsMemory:
Inheritance graph
[legend]
Collaboration diagram for casadi::MumpsMemory:
Collaboration graph
[legend]

Public Member Functions

 MumpsMemory ()
 
 ~MumpsMemory ()
 
void add_stat (const std::string &s)
 

Public Attributes

DMUMPS_STRUC_C * id
 
std::vector< int > irn
 
std::vector< int > jcn
 
std::vector< double > nz
 
bool is_sfact
 
bool is_nfact
 
std::map< std::string, FStatsfstats
 
FStatst_total
 

Constructor & Destructor Documentation

◆ MumpsMemory()

casadi::MumpsMemory::MumpsMemory ( )

Definition at line 190 of file mumps_interface.cpp.

190  {
191  this->id = 0;
192  }

◆ ~MumpsMemory()

casadi::MumpsMemory::~MumpsMemory ( )

Definition at line 194 of file mumps_interface.cpp.

194  {
195  if (this->id) {
196  // Terminate the instance of the package
197  this->id->job = -2;
198  dmumps_c(this->id);
199  // Delete the structure
200  delete this->id;
201  }
202  }
DMUMPS_STRUC_C * id

References id.

Member Function Documentation

◆ add_stat()

void casadi::ProtoFunctionMemory::add_stat ( const std::string &  s)
inlineinherited

Member Data Documentation

◆ fstats

std::map<std::string, FStats> casadi::ProtoFunctionMemory::fstats
inherited

◆ id

DMUMPS_STRUC_C* casadi::MumpsMemory::id

◆ irn

std::vector<int> casadi::MumpsMemory::irn

Definition at line 59 of file mumps_interface.hpp.

◆ is_nfact

bool casadi::LinsolMemory::is_nfact
inherited

Definition at line 39 of file linsol_internal.hpp.

Referenced by casadi::Linsol::nfact().

◆ is_sfact

bool casadi::LinsolMemory::is_sfact
inherited

Definition at line 39 of file linsol_internal.hpp.

Referenced by casadi::Linsol::sfact().

◆ jcn

std::vector<int> casadi::MumpsMemory::jcn

Definition at line 59 of file mumps_interface.hpp.

◆ nz

std::vector<double> casadi::MumpsMemory::nz

Definition at line 62 of file mumps_interface.hpp.

◆ t_total

FStats* casadi::ProtoFunctionMemory::t_total
inherited

Definition at line 71 of file function_internal.hpp.

Referenced by casadi::LinsolCall< Tr >::eval(), and casadi::Linsol::solve().


The documentation for this struct was generated from the following files: