|
CG
Version 25
|
Go to the source code of this file.
Functions | |
| if (false &&(degreeSpaceX==0||degreeSpaceY==0||degreeSpaceZ==0)&&(degreeSpaceX!=0||degreeSpaceY!=0||degreeSpaceZ!=0)) | |
| else | if (degreeSpace==1) |
| else | if (degreeSpace >=5) |
| printF ("\n $$$$$$$ assignInitialConditions: build OGPolyFunction: degreeSpace=%i, degreeTime=%i ndp=%i $$$$\n", degreeSpace, degreeTime, ndp) | |
| RealArray | spatialCoefficientsForTZ (ndp, ndp, ndp, numberOfComponentsForTZ) |
| RealArray | timeCoefficientsForTZ (ndp, numberOfComponentsForTZ) |
| assert (epsc >=0 &&muc >=0 &&sigmaEc >=0 &&sigmaHc >=0) | |
| printF (" *** numberOfComponentsForTZ=%i, epsc,muc,sigmaEc,sigmaHc=%i,%i,%i,%i, eps,mu=%e,%e\n", numberOfComponentsForTZ, epsc, muc, sigmaEc, sigmaHc, eps, mu) | |
| spatialCoefficientsForTZ (0, 0, 0, epsc) | |
| spatialCoefficientsForTZ (0, 0, 0, muc) | |
| spatialCoefficientsForTZ (0, 0, 0, sigmaEc)=0. | |
| spatialCoefficientsForTZ (0, 0, 0, sigmaHc)=0. | |
| if (numberOfDimensions==2) | |
| for (int n=0;n< numberOfComponents;n++) | |
| if (method==sosup) | |
| timeCoefficientsForTZ (0, rc) | |
| timeCoefficientsForTZ (0, epsc) | |
| timeCoefficientsForTZ (0, muc) | |
| timeCoefficientsForTZ (0, sigmaEc) | |
| timeCoefficientsForTZ (0, sigmaHc) | |
| OGPolyFunction *tz | setCoefficients (spatialCoefficientsForTZ, timeCoefficientsForTZ) |
Variables | |
| else | |
| tz = new OGPolyFunction(degreeSpace,numberOfDimensions,numberOfComponentsForTZ,degreeTime) | |
| const int | ndp =max(max(5,degreeSpace+1),degreeTime+1) |
| spatialCoefficientsForTZ =0. | |
| timeCoefficientsForTZ =0. | |
| assert | ( | epsc >=0 &&muc >=0 &&sigmaEc >=0 &&sigmaHc >= | 0 | ) |
| for | ( | ) |
| if | ( | false && | degreeSpaceX==0||degreeSpaceY==0||degreeSpaceZ==0)&&(degreeSpaceX!=0||degreeSpaceY!=0||degreeSpaceZ!=0 | ) |
References spatialCoefficientsForTZ, ux, uy, and uz.
| if | ( | method | = =sosup | ) |
References ex, i, i1, i2, i3, n, ndp, spatialCoefficientsForTZ, and timeCoefficientsForTZ.
| printF | ( | "\n $$$$$$$ assignInitialConditions: build OGPolyFunction: | degreeSpace = %i | ) |
| printF | ( | " *** | numberOfComponentsForTZ = %i, |
| epsc | , | ||
| muc | , | ||
| sigmaEc | , | ||
| sigmaHc | = %i, |
||
| % | i, | ||
| % | i, | ||
| % | i, | ||
| eps | , | ||
| mu | = %e, |
||
| %e\n" | , | ||
| numberOfComponentsForTZ | , | ||
| epsc | , | ||
| muc | , | ||
| sigmaEc | , | ||
| sigmaHc | , | ||
| eps | , | ||
| mu | |||
| ) |
| OGPolyFunction* tz setCoefficients | ( | spatialCoefficientsForTZ | , |
| timeCoefficientsForTZ | |||
| ) |
| spatialCoefficientsForTZ | ( | 0 | , |
| 0 | , | ||
| 0 | , | ||
| epsc | |||
| ) |
| spatialCoefficientsForTZ | ( | 0 | , |
| 0 | , | ||
| 0 | , | ||
| muc | |||
| ) |
|
pure virtual |
|
pure virtual |
| RealArray timeCoefficientsForTZ | ( | ndp | , |
| numberOfComponentsForTZ | |||
| ) |
| timeCoefficientsForTZ | ( | 0 | , |
| rc | |||
| ) |
| timeCoefficientsForTZ | ( | 0 | , |
| epsc | |||
| ) |
| timeCoefficientsForTZ | ( | 0 | , |
| muc | |||
| ) |
| timeCoefficientsForTZ | ( | 0 | , |
| sigmaEc | |||
| ) |
| timeCoefficientsForTZ | ( | 0 | , |
| sigmaHc | |||
| ) |
| else |
| const int ndp =max(max(5,degreeSpace+1),degreeTime+1) |
| spatialCoefficientsForTZ =0. |
Referenced by Maxwell::assignInitialConditions(), if(), AdParameters::setTwilightZoneFunction(), AsfParameters::setTwilightZoneFunction(), SmParameters::setTwilightZoneFunction(), CnsParameters::setTwilightZoneFunction(), InsParameters::setTwilightZoneFunction(), and Parameters::setTwilightZoneFunction().
| timeCoefficientsForTZ =0. |
Referenced by Maxwell::assignInitialConditions(), for(), if(), AdParameters::setTwilightZoneFunction(), AsfParameters::setTwilightZoneFunction(), SmParameters::setTwilightZoneFunction(), CnsParameters::setTwilightZoneFunction(), InsParameters::setTwilightZoneFunction(), and Parameters::setTwilightZoneFunction().
| tz = new OGPolyFunction(degreeSpace,numberOfDimensions,numberOfComponentsForTZ,degreeTime) |
Referenced by Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), Cgsm::assignTwilightZoneInitialConditions(), Cgsm::getErrors(), Cgsm::getForcing(), DomainSolver::getMaterialProperties(), DeformingGrid::getPastLevelGrid(), SmParameters::setTwilightZoneFunction(), DomainSolver::setVariableMaterialProperties(), and Cgsm::userDefinedBoundaryValues().
1.8.3