This repository has been archived by the owner on Apr 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy patheqn_glue.h
63 lines (50 loc) · 1.75 KB
/
eqn_glue.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#ifndef EQN_GLUE_H
#define EQN_GLUE_H
/*
* eqn_glue.h
* ds
*
* Created by Nobuyuki Umetani on 7/27/10.
* Copyright 2010 The University of Tokyo and Colubmia University. All rights reserved.
*
*/
#include "delfem/femls/linearsystem_field.h"
bool AddLinSys_Glue_Lagrange_NewmarkBeta
(double dt, double gamma_newmark, double beta_newmark,
Fem::Eqn::ILinearSystem_Eqn& ls,
unsigned int id_field_disp, unsigned int id_field_lambda,
const Fem::Field::CFieldWorld& world,
bool is_initial);
bool AddLinSys_Glue_Lagrange_BackwardEular
(double dt,
Fem::Eqn::ILinearSystem_Eqn& ls,
unsigned int id_field_disp, unsigned int id_field_lambda,
const Fem::Field::CFieldWorld& world,
bool is_initial);
bool AddLinSys_Glut_Penalty_NewmarkBeta
(double dt, double gamma_newmark, double beta_newmark,
Fem::Eqn::ILinearSystem_Eqn& ls,
double stiff_dart,
unsigned int id_field_disp, unsigned int id_field_dart,
const Fem::Field::CFieldWorld& world,
bool is_initial);
bool AddLinSys_Glut_Penalty_BackwardEular
(double dt, double damp_coeff,
Fem::Eqn::ILinearSystem_Eqn& ls,
double stiff_dart,
unsigned int id_field_disp, unsigned int id_field_dart,
const Fem::Field::CFieldWorld& world,
double& strain_energy);
bool AddLinSys_Glut_Penalty_Sensitivity
(Fem::Eqn::ILinearSystem_Eqn& ls,
double stiff_dart,
unsigned int id_field_disp, unsigned int id_field_dart,
const Fem::Field::CFieldWorld& world);
unsigned int MakeField_GlueEdge_Lambda
(Fem::Field::CFieldWorld& world,
unsigned int id_field, unsigned int id_ea1, unsigned int id_ea2, const int derivative_type );
unsigned int MakePartialField_GlueEdge_Penalty
(Fem::Field::CFieldWorld& world,
unsigned int id_field, unsigned int id_ea1, unsigned int id_ea2, bool is_same_dir,
bool& is_reordering_needed);
#endif