20#ifndef _INITIAL_CONDITION_H_
21#define _INITIAL_CONDITION_H_
23#include "mbsim/links/link.h"
34 void init(
InitStage stage,
const InitConfigSet &config)
override;
37 void deactivate() { active =
false; }
38 bool isActive()
const override {
return active; }
46 void updatehRef(fmatvec::Vec &hParent,
int j=0)
override { }
47 void updaterRef(fmatvec::Vec &hParent,
int j=0)
override { }
48 void updateVRef(fmatvec::Mat &WParent,
int j=0)
override { }
InitStage
The stages of the initialization.
Definition: element.h:62
std::string name
name of element
Definition: element.h:260
Definition: initial_condition.h:27
bool gActiveChanged() override
Definition: initial_condition.h:39
bool isActive() const override
Definition: initial_condition.h:38
bool isSingleValued() const override
asks the link if it contains single valued force laws that contribute to the right-hand side vector h
Definition: initial_condition.h:41
void updatehRef(fmatvec::Vec &hParent, int j=0) override
references to complete and link smooth force vector of dynamic system parent
Definition: initial_condition.h:46
void updateVRef(fmatvec::Mat &WParent, int j=0) override
references to condensed contact force direction matrix of dynamic system parent
Definition: initial_condition.h:48
void updaterRef(fmatvec::Vec &hParent, int j=0) override
references to nonsmooth force vector of dynamic system parent
Definition: initial_condition.h:47
void calcgSize(int j) override
calculates size of relative distances
Definition: initial_condition.cc:31
void calcgdSize(int j) override
calculates size of gap velocities
Definition: initial_condition.cc:35
void init(InitStage stage, const InitConfigSet &config) override
plots time series header
Definition: initial_condition.cc:39
void plot() override
plots time dependent data
Definition: initial_condition.h:35
bool isSetValued() const override
asks the link if it contains force laws that contribute to the lagrange multiplier and is therefore s...
Definition: initial_condition.h:40
general link to one or more objects
Definition: link.h:48
Link(const std::string &name)
constructor
Definition: link.cc:39
namespace MBSim
Definition: bilateral_constraint.cc:30