|
| BlockTimeStep4th () |
| contructor More...
|
|
void | setDtRange (const Float _dt_max, const int _pow_index_min) |
| set dt limit (max and min) More...
|
|
Float | getDtMax () const |
| get maximum time step More...
|
|
Float | getDtMin () const |
| get minimum time step More...
|
|
Float | calcNextDtLimit (const Float _time) |
| calculate the maximum time step limit for next block step based on the input (current) time More...
|
|
Float | calcBlockDt2nd (const Float *_acc0, const Float *_acc1, const Float _dt_limit) const |
| Calculate 2nd order block time step. More...
|
|
Float | calcBlockDt4th (const Float *acc0, const Float *acc1, const Float *acc2, const Float *acc3, const Float _dt_limit) const |
| Calculate 4th order block time step. More...
|
|
void | print (std::ostream &_fout) const |
|
void | printColumnTitle (std::ostream &_fout, const int _width=20) |
| print titles of class members using column style More...
|
|
void | printColumn (std::ostream &_fout, const int _width=20) |
| print data of class members using column style More...
|
|
void | writeBinary (FILE *_fp) const |
| write class data to file with binary format More...
|
|
void | readBinary (FILE *_fin) |
| read class data to file with binary format More...
|
|
| TimeStep4th () |
|
acceleration offset to avoid too small step when weak acceleration exist
More...
|
|
bool | checkParams () |
| check whether parameters values are correct More...
|
|
void | calcAcc0OffsetSq (const Float _mass, const Float _r, const Float _G) |
| calculate a0_offset_sq More...
|
|
Float | calcDt2nd (const Float *acc0, const Float *acc1) const |
| calculate 2nd order time step More...
|
|
Float | calcDt4th (const Float *acc0, const Float *acc1, const Float *acc2, const Float *acc3) const |
| calculate 4th order time step More...
|
|
void | print (std::ostream &_fout) const |
|
void | printColumnTitle (std::ostream &_fout, const int _width=20) |
| print titles of class members using column style More...
|
|
void | printColumn (std::ostream &_fout, const int _width=20) |
| print data of class members using column style More...
|
|
void | writeBinary (FILE *_fp) const |
| write class data to file with binary format More...
|
|
void | readBinary (FILE *_fin) |
| read class data to file with binary format More...
|
|