Public Types | Public Member Functions | Public Attributes | List of all members
Stiffness Class Reference

#include <Stiffness.h>

Public Types

typedef Eigen::MatrixXd MX
 
typedef Eigen::MatrixXi MXi
 
typedef trimesh::point point
 
typedef Eigen::SparseMatrix< double > SpMat
 
typedef Eigen::VectorXd VX
 
typedef Eigen::VectorXi VXi
 

Public Member Functions

bool CalculateD (VX &D, VX *ptr_x=NULL, bool cond_num=false, int file_id=0, string file_name="")
 
bool CalculateD (VX &D, VX &D0, VX *ptr_x=NULL, bool cond_num=false, int file_id=0, string file_name="")
 
bool CheckError (IllCondDetector &stiff_inspector, VX &D)
 
bool CheckIllCondition (IllCondDetector &stiff_inspector)
 
void CreateElasticK ()
 
void CreateF (VX *ptr_x=NULL)
 
void CreateFe ()
 
void CreateGlobalK (VX *ptr_x=NULL)
 
MX eKe (int ei)
 
MX eKv (int ei)
 
VX Fe (int ei)
 
void Init ()
 
void PrintOutTimer ()
 
 Stiffness ()
 
 Stiffness (DualGraph *ptr_dualgraph)
 
 Stiffness (DualGraph *ptr_dualgraph, FiberPrintPARM *ptr_parm, char *ptr_path=NULL, bool terminal_output=false, bool file_output=false)
 
VXWeightedF ()
 
SpMatWeightedK ()
 
void WriteData (VectorXd &D, int id=0, string fname="stiff_data")
 
 ~Stiffness ()
 

Public Attributes

Timer check_error_
 
Timer check_ill_
 
Timer create_ek_
 
Timer create_f_
 
Timer create_fe_
 
Timer create_k_
 
double density_
 
double E_
 
vector< MXeK_
 
VX F_
 
vector< VXFe_
 
bool file_output_
 
double g_
 
double G_
 
SpMat K_
 
double nr_
 
int Ns_
 
DualGraphptr_dualgraph_
 
FiberPrintPARMptr_parm_
 
char * ptr_path_
 
double r_
 
bool shear_
 
StiffnessIO stiff_io_
 
StiffnessSolver stiff_solver_
 
bool terminal_output_
 
CoordTrans transf_
 
double v_
 

Detailed Description

Definition at line 74 of file Stiffness.h.

Member Typedef Documentation

typedef Eigen::MatrixXd Stiffness::MX

Definition at line 78 of file Stiffness.h.

typedef Eigen::MatrixXi Stiffness::MXi

Definition at line 81 of file Stiffness.h.

Definition at line 82 of file Stiffness.h.

typedef Eigen::SparseMatrix<double> Stiffness::SpMat

Definition at line 77 of file Stiffness.h.

typedef Eigen::VectorXd Stiffness::VX

Definition at line 79 of file Stiffness.h.

typedef Eigen::VectorXi Stiffness::VXi

Definition at line 80 of file Stiffness.h.

Constructor & Destructor Documentation

Stiffness::Stiffness ( )

Definition at line 3 of file Stiffness.cpp.

Stiffness::Stiffness ( DualGraph ptr_dualgraph)

Definition at line 10 of file Stiffness.cpp.

Stiffness::Stiffness ( DualGraph ptr_dualgraph,
FiberPrintPARM ptr_parm,
char *  ptr_path = NULL,
bool  terminal_output = false,
bool  file_output = false 
)

Definition at line 22 of file Stiffness.cpp.

Stiffness::~Stiffness ( )

Definition at line 49 of file Stiffness.cpp.

Member Function Documentation

bool Stiffness::CalculateD ( VX D,
VX ptr_x = NULL,
bool  cond_num = false,
int  file_id = 0,
string  file_name = "" 
)

Definition at line 407 of file Stiffness.cpp.

bool Stiffness::CalculateD ( VX D,
VX D0,
VX ptr_x = NULL,
bool  cond_num = false,
int  file_id = 0,
string  file_name = "" 
)

Definition at line 459 of file Stiffness.cpp.

bool Stiffness::CheckError ( IllCondDetector stiff_inspector,
VX D 
)

Definition at line 546 of file Stiffness.cpp.

bool Stiffness::CheckIllCondition ( IllCondDetector stiff_inspector)

Definition at line 510 of file Stiffness.cpp.

void Stiffness::CreateElasticK ( )

Definition at line 171 of file Stiffness.cpp.

void Stiffness::CreateF ( VX ptr_x = NULL)

Definition at line 120 of file Stiffness.cpp.

void Stiffness::CreateFe ( )

Definition at line 63 of file Stiffness.cpp.

void Stiffness::CreateGlobalK ( VX ptr_x = NULL)

Definition at line 300 of file Stiffness.cpp.

MatrixXd Stiffness::eKe ( int  ei)

Definition at line 618 of file Stiffness.cpp.

MatrixXd Stiffness::eKv ( int  ei)

Definition at line 649 of file Stiffness.cpp.

VectorXd Stiffness::Fe ( int  ei)

Definition at line 680 of file Stiffness.cpp.

void Stiffness::Init ( )

Definition at line 54 of file Stiffness.cpp.

void Stiffness::PrintOutTimer ( )

Definition at line 704 of file Stiffness.cpp.

VX* Stiffness::WeightedF ( )
inline

Definition at line 130 of file Stiffness.h.

SpMat* Stiffness::WeightedK ( )
inline

Definition at line 129 of file Stiffness.h.

void Stiffness::WriteData ( VectorXd &  D,
int  id = 0,
string  fname = "stiff_data" 
)

Definition at line 584 of file Stiffness.cpp.

Member Data Documentation

Timer Stiffness::check_error_

Definition at line 170 of file Stiffness.h.

Timer Stiffness::check_ill_

Definition at line 169 of file Stiffness.h.

Timer Stiffness::create_ek_

Definition at line 167 of file Stiffness.h.

Timer Stiffness::create_f_

Definition at line 166 of file Stiffness.h.

Timer Stiffness::create_fe_

Definition at line 165 of file Stiffness.h.

Timer Stiffness::create_k_

Definition at line 168 of file Stiffness.h.

double Stiffness::density_

Definition at line 157 of file Stiffness.h.

double Stiffness::E_

Definition at line 160 of file Stiffness.h.

vector<MX> Stiffness::eK_

Definition at line 149 of file Stiffness.h.

VX Stiffness::F_

Definition at line 150 of file Stiffness.h.

vector<VX> Stiffness::Fe_

Definition at line 151 of file Stiffness.h.

bool Stiffness::file_output_

Definition at line 173 of file Stiffness.h.

double Stiffness::g_

Definition at line 158 of file Stiffness.h.

double Stiffness::G_

Definition at line 159 of file Stiffness.h.

SpMat Stiffness::K_

Definition at line 148 of file Stiffness.h.

double Stiffness::nr_

Definition at line 156 of file Stiffness.h.

int Stiffness::Ns_

Definition at line 153 of file Stiffness.h.

DualGraph* Stiffness::ptr_dualgraph_

Definition at line 139 of file Stiffness.h.

FiberPrintPARM* Stiffness::ptr_parm_

Definition at line 140 of file Stiffness.h.

char* Stiffness::ptr_path_

Definition at line 141 of file Stiffness.h.

double Stiffness::r_

Definition at line 155 of file Stiffness.h.

bool Stiffness::shear_

Definition at line 163 of file Stiffness.h.

StiffnessIO Stiffness::stiff_io_

Definition at line 143 of file Stiffness.h.

StiffnessSolver Stiffness::stiff_solver_

Definition at line 144 of file Stiffness.h.

bool Stiffness::terminal_output_

Definition at line 172 of file Stiffness.h.

CoordTrans Stiffness::transf_

Definition at line 146 of file Stiffness.h.

double Stiffness::v_

Definition at line 161 of file Stiffness.h.


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


choreo_task_sequence_planner
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:03:15