84SlaveDof :: giveNumberOfPrimaryMasterDofs()
114 this->
giveMasterDof(i)->giveUnknowns(mstrUnknwns, mode, tStep);
128 this->
giveMasterDof(i)->giveUnknowns(mstrUnknwns, field, mode, tStep);
135SlaveDof :: computeDofTransformation(
FloatArray &primaryMasterContribs)
142 this->
giveMasterDof(i)->computeDofTransformation(subPrimaryMasterContribs);
144 primaryMasterContribs.
copySubVector(subPrimaryMasterContribs, k);
145 k += subPrimaryMasterContribs.
giveSize();
156 masterEqNumbers.
clear();
172 masterDofIDs.
clear();
181double SlaveDof :: giveUnknown(ValueModeType mode,
TimeStep *tStep)
202int SlaveDof :: __giveEquationNumber()
const
208int SlaveDof :: __givePrescribedEquationNumber()
215 Dof :: saveContext(stream, mode);
239 if ( !stream.
write(_idofmanNum) ) {
244 if ( ( iores =
dofIDs.storeYourself(stream) ) !=
CIO_OK ) {
252 Dof :: restoreContext(stream, mode);
277 if ( ( iores =
dofIDs.restoreYourself(stream) ) !=
CIO_OK ) {
285SlaveDof :: giveMasterDof(
int i)
310 this->
giveMasterDof(i)->giveMasterDofManArray(mstrDofManArry);
virtual int read(int *data, std::size_t count)=0
Reads count integer values into array pointed by data.
virtual int write(const int *data, std::size_t count)=0
Writes count integer values from array pointed by data.
DofIDItem dofID
Physical meaning of DOF.
Dof(DofManager *aNode, DofIDItem id=Undef)
DofManager * dofManager
Link to related DofManager.
double dotProduct(const FloatArray &x) const
Index giveSize() const
Returns the size of receiver.
void copySubVector(const FloatArray &src, int si)
void followedBy(const IntArray &b, int allocChunk=0)
void preallocate(int futureSize)
IntArray dofIDs
Array of master dofIDs.
Dof * giveMasterDof(int i)
int countOfPrimaryMasterDofs
Count of master DofManagers.
void computeDofTransformation(FloatArray &primaryMasterContribs) override
int countOfMasterDofs
Count of master DofManagers.
IntArray masterDofMans
Array of master DofManagers.
void giveUnknowns(FloatArray &masterUnknowns, ValueModeType mode, TimeStep *tStep) override
int giveNumberOfPrimaryMasterDofs() override
FloatArray masterContribution
Vector of master contribution coefficients.
#define CM_DefinitionGlobal
@ CIO_IOERR
General IO error.