45enum class DOF :
unsigned short;
81 bool initialized =
false;
83 std::mutex node_mutex;
85 std::vector<DOF> dof_identifier;
88 explicit Node(
unsigned = 0);
89 Node(
unsigned, vec&&);
90 Node(
unsigned,
unsigned);
91 Node(
unsigned,
unsigned, vec&&);
98 void initialize(
const shared_ptr<DomainBase>&);
209 void print()
override;
OutputType
Definition: OutputType.h:23
The DomainBase class is a template.
Definition: DomainBase.h:104
The Node class holds the number of DoFs, coordinate, displacement, velocity and acceleration.
Definition: Node.h:80
const vec & get_incre_damping_force() const
Definition: Node.cpp:205
Node & operator=(const Node &)=delete
void update_incre_damping_force(const vec &)
Definition: Node.cpp:273
const vec & get_coordinate() const
Definition: Node.cpp:145
void update_trial_damping_force(const vec &)
Definition: Node.cpp:322
void set_coordinate(const vec &)
Definition: Node.cpp:143
const std::vector< DOF > & get_dof_identifier() const
Definition: Node.cpp:118
const uvec & get_original_dof() const
Definition: Node.cpp:137
void set_trial_acceleration(const vec &)
Definition: Node.cpp:187
const vec & get_trial_acceleration() const
Definition: Node.cpp:229
const vec & get_trial_resistance() const
Definition: Node.cpp:217
void set_current_nonviscous_force(const vec &)
Definition: Node.cpp:151
void set_incre_velocity(const vec &)
Definition: Node.cpp:171
const vec & get_incre_resistance() const
Definition: Node.cpp:203
void update_incre_displacement(const vec &)
Definition: Node.cpp:294
const vec & get_trial_damping_force() const
Definition: Node.cpp:219
void set_trial_inertial_force(const vec &)
Definition: Node.cpp:181
const vec & get_current_nonviscous_force() const
Definition: Node.cpp:193
const vec & get_trial_nonviscous_force() const
Definition: Node.cpp:221
void update_current_nonviscous_force(const vec &)
Definition: Node.cpp:241
void print() override
Definition: Node.cpp:578
void update_incre_inertial_force(const vec &)
Definition: Node.cpp:287
const vec & get_incre_inertial_force() const
Definition: Node.cpp:209
void update_trial_status(const vec &)
Definition: Node.cpp:404
void set_current_acceleration(const vec &)
Definition: Node.cpp:159
unsigned get_dof_number() const
Definition: Node.cpp:103
void update_current_status(const vec &)
Definition: Node.cpp:364
void update_trial_velocity(const vec &)
Definition: Node.cpp:350
void set_initialized(bool)
Definition: Node.cpp:92
void update_incre_velocity(const vec &)
Definition: Node.cpp:301
const vec & get_incre_nonviscous_force() const
Definition: Node.cpp:207
void update_current_resistance(const vec &)
Definition: Node.cpp:231
void update_current_acceleration(const vec &)
Definition: Node.cpp:261
Node(const Node &)=delete
void set_trial_damping_force(const vec &)
Definition: Node.cpp:177
void update_current_inertial_force(const vec &)
Definition: Node.cpp:246
void set_reordered_dof(const uvec &)
Definition: Node.cpp:139
void set_current_displacement(const vec &)
Definition: Node.cpp:155
void update_trial_inertial_force(const vec &)
Definition: Node.cpp:336
void update_trial_resistance(const vec &)
Definition: Node.cpp:315
const uvec & get_reordered_dof() const
Definition: Node.cpp:141
Node(unsigned=0)
Definition: Node.cpp:24
const vec & get_incre_velocity() const
Definition: Node.cpp:213
void reset_status()
Definition: Node.cpp:458
const vec & get_current_resistance() const
Definition: Node.cpp:189
void set_dof_identifier(const std::vector< DOF > &)
Definition: Node.cpp:105
void set_trial_resistance(const vec &)
Definition: Node.cpp:175
const vec & get_incre_displacement() const
Definition: Node.cpp:211
const vec & get_trial_inertial_force() const
Definition: Node.cpp:223
const vec & get_current_displacement() const
Definition: Node.cpp:197
void set_incre_resistance(const vec &)
Definition: Node.cpp:161
void set_dof_number(unsigned)
Definition: Node.cpp:96
const vec & get_trial_displacement() const
Definition: Node.cpp:225
void update_incre_nonviscous_force(const vec &)
Definition: Node.cpp:280
void clear_status()
Definition: Node.cpp:489
void set_incre_damping_force(const vec &)
Definition: Node.cpp:163
void set_current_damping_force(const vec &)
Definition: Node.cpp:149
void set_incre_nonviscous_force(const vec &)
Definition: Node.cpp:165
void update_trial_nonviscous_force(const vec &)
Definition: Node.cpp:329
void update_trial_acceleration(const vec &)
Definition: Node.cpp:357
void set_trial_nonviscous_force(const vec &)
Definition: Node.cpp:179
void set_trial_velocity(const vec &)
Definition: Node.cpp:185
void set_current_velocity(const vec &)
Definition: Node.cpp:157
void set_incre_acceleration(const vec &)
Definition: Node.cpp:173
void commit_status()
Definition: Node.cpp:427
std::vector< vec > record(OutputType) const
Definition: Node.cpp:529
const vec & get_current_velocity() const
Definition: Node.cpp:199
void update_current_velocity(const vec &)
Definition: Node.cpp:256
const vec & get_current_acceleration() const
Definition: Node.cpp:201
const vec & get_current_damping_force() const
Definition: Node.cpp:191
void set_current_resistance(const vec &)
Definition: Node.cpp:147
void set_current_inertial_force(const vec &)
Definition: Node.cpp:153
const vec & get_trial_velocity() const
Definition: Node.cpp:227
const vec & get_current_inertial_force() const
Definition: Node.cpp:195
void update_incre_acceleration(const vec &)
Definition: Node.cpp:308
void set_trial_displacement(const vec &)
Definition: Node.cpp:183
void update_trial_displacement(const vec &)
Definition: Node.cpp:343
void set_incre_displacement(const vec &)
Definition: Node.cpp:169
void set_original_dof(unsigned &)
Definition: Node.cpp:120
bool get_initialized() const
Definition: Node.cpp:94
void update_current_displacement(const vec &)
Definition: Node.cpp:251
const vec & get_incre_acceleration() const
Definition: Node.cpp:215
void initialize(const shared_ptr< DomainBase > &)
This method should be called after Element objects are set. Element objects will set the minimum numb...
Definition: Node.cpp:63
Node & operator=(Node &&)=delete
void update_current_damping_force(const vec &)
Definition: Node.cpp:236
void set_incre_inertial_force(const vec &)
Definition: Node.cpp:167
void update_incre_resistance(const vec &)
Definition: Node.cpp:266
void update_incre_status(const vec &)
Definition: Node.cpp:381
A base Tag class.
Definition: Tag.h:38
unsigned num_dof
Definition: Node.h:48
vec incre_displacement
Definition: Node.h:67
vec trial_damping_force
Definition: Node.h:72
vec incre_resistance
Definition: Node.h:63
vec trial_nonviscous_force
Definition: Node.h:73
vec current_resistance
Definition: Node.h:55
vec incre_inertial_force
Definition: Node.h:66
vec current_damping_force
Definition: Node.h:56
vec current_displacement
Definition: Node.h:59
vec trial_acceleration
Definition: Node.h:77
vec current_velocity
Definition: Node.h:60
vec current_acceleration
Definition: Node.h:61
vec trial_inertial_force
Definition: Node.h:74
vec trial_displacement
Definition: Node.h:75
vec trial_velocity
Definition: Node.h:76
vec current_inertial_force
Definition: Node.h:58
uvec original_dof
Definition: Node.h:52
vec incre_nonviscous_force
Definition: Node.h:65
vec incre_velocity
Definition: Node.h:68
vec coordinate
Definition: Node.h:50
vec incre_damping_force
Definition: Node.h:64
uvec reordered_dof
Definition: Node.h:53
vec current_nonviscous_force
Definition: Node.h:57
vec incre_acceleration
Definition: Node.h:69
vec trial_resistance
Definition: Node.h:71