| 568 |
|
void setEuler(const Vector3d& euler, int snapshotNo) { |
| 569 |
|
((snapshotMan_->getSnapshot(snapshotNo))->*storage_).aMat[localIndex_] = euler; |
| 570 |
|
} |
| 571 |
< |
|
| 571 |
> |
|
| 572 |
|
/** |
| 573 |
< |
* Returns the previous unit vectors of this stuntDouble |
| 574 |
< |
* @return the unit vectors of this stuntDouble |
| 573 |
> |
* Returns the previous dipole vector of this stuntDouble |
| 574 |
> |
* @return the dipole vector of this stuntDouble |
| 575 |
|
*/ |
| 576 |
< |
RotMat3x3d getPrevElectroFrame() { |
| 577 |
< |
return ((snapshotMan_->getPrevSnapshot())->*storage_).electroFrame[localIndex_]; |
| 576 |
> |
Vector3d getPrevDipole() { |
| 577 |
> |
return ((snapshotMan_->getPrevSnapshot())->*storage_).dipole[localIndex_]; |
| 578 |
|
} |
| 579 |
< |
|
| 579 |
> |
|
| 580 |
|
/** |
| 581 |
< |
* Returns the current unit vectors of this stuntDouble |
| 582 |
< |
* @return the unit vectors of this stuntDouble |
| 583 |
< |
*/ |
| 584 |
< |
RotMat3x3d getElectroFrame() { |
| 585 |
< |
return ((snapshotMan_->getCurrentSnapshot())->*storage_).electroFrame[localIndex_]; |
| 581 |
> |
* Returns the current dipole vector of this stuntDouble |
| 582 |
> |
* @return the dipole vector of this stuntDouble |
| 583 |
> |
*/ |
| 584 |
> |
Vector3d getDipole() { |
| 585 |
> |
return ((snapshotMan_->getCurrentSnapshot())->*storage_).dipole[localIndex_]; |
| 586 |
|
} |
| 587 |
< |
|
| 587 |
> |
|
| 588 |
|
/** |
| 589 |
< |
* Returns the unit vectors of this stuntDouble in specified snapshot |
| 589 |
> |
* Returns the dipole vector of this stuntDouble in specified snapshot |
| 590 |
|
* |
| 591 |
< |
* @return the unit vectors of this stuntDouble |
| 591 |
> |
* @return the dipole vector of this stuntDouble |
| 592 |
|
* @param snapshotNo |
| 593 |
|
*/ |
| 594 |
< |
RotMat3x3d getElectroFrame(int snapshotNo) { |
| 595 |
< |
return ((snapshotMan_->getSnapshot(snapshotNo))->*storage_).electroFrame[localIndex_]; |
| 594 |
> |
Vector3d getDipole(int snapshotNo) { |
| 595 |
> |
return ((snapshotMan_->getSnapshot(snapshotNo))->*storage_).dipole[localIndex_]; |
| 596 |
|
} |
| 597 |
|
|
| 598 |
+ |
|
| 599 |
+ |
/** |
| 600 |
+ |
* Returns the previous quadrupole tensor of this stuntDouble |
| 601 |
+ |
* @return the quadrupole tensor of this stuntDouble |
| 602 |
+ |
*/ |
| 603 |
+ |
Mat3x3d getPrevQuadrupole() { |
| 604 |
+ |
return ((snapshotMan_->getPrevSnapshot())->*storage_).quadrupole[localIndex_]; |
| 605 |
+ |
} |
| 606 |
+ |
|
| 607 |
+ |
/** |
| 608 |
+ |
* Returns the current quadrupole tensor of this stuntDouble |
| 609 |
+ |
* @return the quadrupole tensor of this stuntDouble |
| 610 |
+ |
*/ |
| 611 |
+ |
Mat3x3d getQuadrupole() { |
| 612 |
+ |
return ((snapshotMan_->getCurrentSnapshot())->*storage_).quadrupole[localIndex_]; |
| 613 |
+ |
} |
| 614 |
+ |
|
| 615 |
|
/** |
| 616 |
+ |
* Returns the quadrupole tensor of this stuntDouble in specified snapshot |
| 617 |
+ |
* |
| 618 |
+ |
* @return the quadrupole tensor of this stuntDouble |
| 619 |
+ |
* @param snapshotNo |
| 620 |
+ |
*/ |
| 621 |
+ |
Mat3x3d getQuadrupole(int snapshotNo) { |
| 622 |
+ |
return ((snapshotMan_->getSnapshot(snapshotNo))->*storage_).quadrupole[localIndex_]; |
| 623 |
+ |
} |
| 624 |
+ |
|
| 625 |
+ |
/** |
| 626 |
|
* Returns the previous force of this stuntDouble |
| 627 |
|
* @return the force of this stuntDouble |
| 628 |
|
*/ |