| 480 | // * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * // |
| 481 | |
| 482 | void Foam::regionModels::regionModel::evolve() |
| 483 | { |
| 484 | if (active_) |
| 485 | { |
| 486 | Info<< "\nEvolving " << modelName_ << " for region " |
| 487 | << regionMesh().name() << endl; |
| 488 | |
| 489 | //read(); |
| 490 | |
| 491 | preEvolveRegion(); |
| 492 | |
| 493 | evolveRegion(); |
| 494 | |
| 495 | postEvolveRegion(); |
| 496 | |
| 497 | // Provide some feedback |
| 498 | if (infoOutput_) |
| 499 | { |
| 500 | Info<< incrIndent; |
| 501 | info(); |
| 502 | Info<< endl << decrIndent; |
| 503 | } |
| 504 | |
| 505 | if (time_.writeTime()) |
| 506 | { |
| 507 | outputProperties().writeObject |
| 508 | ( |
| 509 | IOstream::ASCII, |
| 510 | IOstream::currentVersion, |
| 511 | time_.writeCompression(), |
| 512 | true |
| 513 | ); |
| 514 | } |
| 515 | } |
| 516 | } |
| 517 | |
| 518 | |
| 519 | void Foam::regionModels::regionModel::preEvolveRegion() |
nothing calls this directly
no test coverage detected