|
Namespace for some extra maths function that are often needed
More...
Functions | |
Mdouble | gamma (Mdouble gamma_in) |
This is the gamma function returns the true value for the half integer value. More... | |
Mdouble | beta (Mdouble z, Mdouble w) |
This is the beta function, returns the approximation based on cmath's implementation of ln(gamma) More... | |
Mdouble | chi_squared (Mdouble x, unsigned int k) |
This is a chi_squared function return the value x and degrees of freedom k. More... | |
Mdouble | chi_squared_prob (Mdouble x, unsigned int k) |
This is the function which actually gives the probability back using a chi squared test. More... | |
Mdouble | goldenSectionSearch (Mdouble(*function)(const Mdouble), Mdouble min, Mdouble cur, Mdouble max, Mdouble endCondition, Mdouble curVal=std::numeric_limits< Mdouble >::quiet_NaN()) |
This function performs a golden section search to find the location of the minimum of a function. More... | |
template<typename T > | |
int | sign (T val) |
This is a sign function, it returns -1 for negative numbers, 1 for positive numbers and 0 for 0. More... | |
template<typename T > | |
T | square (const T val) |
squares a number More... | |
template<typename T > | |
T | cubic (const T val) |
calculates the cube of a number More... | |
bool | isEqual (Mdouble v1, Mdouble v2, Mdouble absError) |
Compares the difference of two Mdouble with an absolute error, useful in UnitTests. More... | |
bool | isEqual (Vec3D v1, Vec3D v2, Mdouble absError) |
Compares the difference of two Vec3D with an absolute error, useful in UnitTests. More... | |
bool | isEqual (Matrix3D m1, Matrix3D m2, Mdouble absError) |
Compares the difference of two Vec3D with an absolute error, useful in UnitTests. More... | |
bool | isEqual (MatrixSymmetric3D m1, MatrixSymmetric3D m2, Mdouble absError) |
bool | isEqual (Quaternion v1, Quaternion v2, double absError) |
template<typename T > | |
constexpr T | factorial (const T t) |
factorial function More... | |
Mdouble | sin (Mdouble x) |
Mdouble | cos (Mdouble x) |
Mdouble | exp (Mdouble Exponent) |
Mdouble | log (Mdouble Power) |
template<typename T > | |
T | tan (T x) |
Mdouble | chebyshev (Mdouble x, const Mdouble coef[], int N) |
Namespace for evaluating the zeroth modified Bessel function of the first kind, I0(x), required in StatisticsPoint.hcc. More... | |
Mdouble | I0_exp (Mdouble x) |
Mdouble | I0 (Mdouble x) |
Namespace for some extra maths function that are often needed
This is the beta function, returns the approximation based on cmath's implementation of ln(gamma)
Computes the beta function for real numbers, based on cmath's approximation of the ln of the gamma function. See https://en.wikipedia.org/wiki/Beta_function for more details
z | first Mdouble argument to compute the beta function of |
w | second Mdouble argument to compute the beta function of |
References exp().
Referenced by helpers::computeDisptFromCollisionTimeAndRestitutionCoefficientAndTangentialRestitutionCoefficientAndEffectiveMass(), SuperQuadricParticle::computeMass(), Multipole::convertMultipoleToLocal(), InfiniteWall::getFurthestPointSuperQuadric(), SuperQuadricParticle::getVolume(), LawinenBox::LawinenBox(), main(), HertzianBSHPInteractionTwoParticleElasticCollision::padeCoefficientOfRestitution(), ParhamiMcMeekingSinterSpecies::set(), SilbertPeriodic::set_study(), SuperQuadricParticle::setBoundingRadius(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficient(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficientNoDispt(), SuperQuadricParticle::setInertia(), SinterNormalSpecies::setParhamiMcKeeping(), SilbertPeriodic::SilbertPeriodic(), LocalExpansion::translateLocalExpansion(), and Multipole::TranslateMultipoleExpansionTo().
Namespace for evaluating the zeroth modified Bessel function of the first kind, I0(x), required in StatisticsPoint.hcc.
References constants::i, and logger.
Referenced by I0_exp().
This is a chi_squared function return the value x and degrees of freedom k.
This is a chi_squared function return the value x and degrees of freedom k
References exp(), and gamma().
Referenced by chi_squared_prob().
This is the function which actually gives the probability back using a chi squared test.
This calculates the probability based on a chi squared test First we calculated the cumulative chi_squared function. This is the function which actually gives the probability back It is calculated by calling the normal chi_squared function and using the trapezoidal rule. The final results is 1-the cumulative chi_squared function
References chi_squared(), and constants::i.
Referenced by main(), and RNG::test().
References constants::i, and constants::pi.
Referenced by VerticalMixerAngledBlades::addBlades(), ChuteWithHopper::addHopper(), VerticalMixerAngledBlades::addPrettyBlades(), ChuteWithWedge::addWedge(), AngledPeriodicBoundarySecondUnitTest::AngledPeriodicBoundarySecondUnitTest(), AngledPeriodicBoundaryUnitTest::AngledPeriodicBoundaryUnitTest(), LiquidBridgeWilletInteraction::computeAdhesionForce(), LiquidMigrationLSInteraction::computeAdhesionForce(), LiquidMigrationWilletInteraction::computeAdhesionForce(), BaseCluster::computeInternalStructure(), SinterLinInteraction::computeNormalForce(), Funnel::create_funnel(), SegregationWithHopper::create_inflow_particle(), AxisymmetricHopper::create_inflow_particle(), Funnel::create_inflow_particle(), CircularPeriodicBoundary::createPeriodicParticle(), LevelSetWall::createVTKSphere(), HorizontalBaseScrew::getDistanceAndNormal(), HorizontalScrew::getDistanceAndNormal(), Coil::getDistanceAndNormal(), InfiniteWallWithHole::getDistanceAndNormal(), SineWall::getDistanceAndNormal(), VChute::getDistanceAndNormal(), Screw::getDistanceAndNormalLabCoordinates(), Vec3D::getFromCylindricalCoordinates(), RNG::getNormalVariate(), vibratedBed::getPrescribedVelocity(), main(), objectivenessTest(), BaseCluster::particleInsertionSuccessful(), particleParticleTest(), HopperInsertionBoundary::placeParticle(), protectiveWall::protectiveWall(), CircularPeriodicBoundary::rotateParticle(), ClumpParticle::rotatePrincipalDirections(), ChutePeriodic::set_chute_parameters(), Cstatic3D::set_particle_properties(), Slide::set_Walls(), Quaternion::setAngleZ(), Chute::setChuteAngleAndMagnitudeOfGravity(), CurvyChute::setChuteAngleAndMagnitudeOfGravity(), Quaternion::setEuler(), T_protectiveWall::setupInitialConditions(), NozzleDemo::setupInitialConditions(), HourGlass::setupInitialConditions(), MinimalExampleDrum::setupInitialConditions(), Cstatic3D::setupInitialConditions(), RotatingDrum::setupInitialConditions(), ConstantMassFlowMaserBoundaryMixedSpeciesSelfTest::setupInitialConditions(), ConstantMassFlowMaserSelfTest::setupInitialConditions(), NozzleSelfTest::setupInitialConditions(), DrumRot::setupInitialConditions(), protectiveWall::setupInitialConditions(), Tutorial11::setupInitialConditions(), DrivenParticleClass::setupInitialConditions(), sphericalHarmonics::sphericalHarmonics(), T_protectiveWall::T_protectiveWall(), tan(), UniformRandomPDs(), Funnel::update_funnel(), wallParticleTest(), AxisymmetricIntersectionOfWalls::writeVTK(), HorizontalBaseScrew::writeVTK(), HorizontalScrew::writeVTK(), Screw::writeVTK(), and ScrewsymmetricIntersectionOfWalls::writeVTK().
T mathsFunc::cubic | ( | const T | val | ) |
calculates the cube of a number
Referenced by ChutePeriodic::add_flow_particles(), Vreman::add_particles(), Chute::addFlowParticlesCompactly(), CGCoordinates::XYZ::getGaussPrefactor(), PSDContinuous::getVolumetricMean(), PSD::getVolumetricMeanRadius(), LawinenBox::LawinenBox(), main(), CGCoordinates::XYZ::normalisePolynomialCoefficients(), ParticleBeam::ParticleBeam(), FlowRule::set_Polydispersity(), FlowRule::setPolydispersity(), StressStrainControl::setupInitialConditions(), AngleOfRepose::setupInitialConditions(), DPM::setupInitialConditions(), SinterForceUnitTest::setupInitialConditions(), ChuteBottom::setupInitialConditions(), ScaleCoupledBeam::setupMercury(), Siegen::Siegen(), and StressStrainControl::StressStrainControl().
References Global_Physical_Variables::P, and X.
Referenced by beta(), chi_squared(), HeatFluidCoupledSpecies< NormalForceSpecies >::f(), CGCoordinates::Base_X_Y_Z::getGaussIntegralPrefactor(), CGCoordinates::Base_XY_XZ_YZ::getGaussIntegralPrefactor(), CGCoordinates::XYZ::getGaussIntegralPrefactor(), CGCoordinates::Base_XY_XZ_YZ::getGaussPrefactor(), CGCoordinates::XYZ::getGaussPrefactor(), helpers::getMaximumVelocity(), RNG::getPoissonVariate(), LinearPlasticViscoelasticNormalSpecies::getRestitutionCoefficient(), LinearViscoelasticNormalSpecies::getRestitutionCoefficient(), SinterLinNormalSpecies::getRestitutionCoefficient(), SPHNormalSpecies::getRestitutionCoefficient(), HGridOptimiser::histNumberParticlesPerCell(), I0(), log(), main(), rapidjson::GenericReader< Encoding, Allocator >::ParseNumber(), particleParticleTest(), ParhamiMcMeekingSinterSpecies::set(), PSD::setDistributionLogNormal(), SinterNormalSpecies::setParhamiMcKeeping(), Calibration::setPSD(), Material::setPSD(), SilbertHstop::solve_analytic(), sphericalHarmonics::sphericalHarmonics(), and wallParticleTest().
|
constexpr |
factorial function
Referenced by sphericalHarmonics::computeSquaredFactorialValues(), HGridOptimiser::histNumberParticlesPerCell(), and sphericalHarmonics::sphericalHarmonics().
This is the gamma function returns the true value for the half integer value.
This is the gamma function, gives 'exact' answers for the half integer values This is done using the recussion relation and the known values for 1 and 0.5 Note, return NaN for non-half integer values
References constants::sqrt_pi.
Referenced by chi_squared(), SegregationWithHopper::create_inflow_particle(), AngleOfRepose::create_inflow_particle(), oomph::RefineableQDPVDElement< DIM, NNODE_1D >::fill_in_generic_contribution_to_residuals_pvd(), oomph::ScaleCoupledElement< ELEMENT >::fill_in_generic_contribution_to_residuals_pvd(), oomph::VolumeCoupledElement< ELEMENT >::fill_in_generic_contribution_to_residuals_pvd(), oomph::SCoupledElement< ELEMENT >::get_momentum_and_energy(), oomph::VolumeCoupledElement< ELEMENT >::get_momentum_and_energy(), InfiniteWall::getFurthestPointSuperQuadric(), SolidProblem< ELEMENT_TYPE >::getMassMomentumEnergy(), main(), HopperInsertionBoundary::placeParticle(), and SuperQuadricParticle::setBoundingRadius().
Mdouble mathsFunc::goldenSectionSearch | ( | Mdouble(*)(const Mdouble) | function, |
Mdouble | min, | ||
Mdouble | cur, | ||
Mdouble | max, | ||
Mdouble | endCondition, | ||
Mdouble | curVal = std::numeric_limits<Mdouble>::quiet_NaN() |
||
) |
This function performs a golden section search to find the location of the minimum of a function.
[in] | function | A function pointer to the function of which you want to calculate the location of its minimum. |
[in] | min | The minimum location |
[in] | cur | The current location |
[in] | max | The maximum location |
[in] | endCondition | The algorithm terminates when abs(max - min) < endCondition |
[in] | curVal | The value of the function at the current location (on default this value is calculated internally) |
References A, and chebyshev().
Referenced by I0().
Compares the difference of two Vec3D with an absolute error, useful in UnitTests.
[in] | m1 | The first Vec3D |
[in] | m2 | The second Vec3D |
[in] | absError | The allowed maximum absolute error |
References isEqual(), Matrix3D::XX, Matrix3D::XY, Matrix3D::XZ, Matrix3D::YX, Matrix3D::YY, Matrix3D::YZ, Matrix3D::ZX, Matrix3D::ZY, and Matrix3D::ZZ.
bool mathsFunc::isEqual | ( | MatrixSymmetric3D | m1, |
MatrixSymmetric3D | m2, | ||
Mdouble | absError | ||
) |
Compares the difference of two Mdouble with an absolute error, useful in UnitTests.
[in] | v1 | The first Mdouble |
[in] | v2 | The second Mdouble |
[in] | absError | The allowed maximum absolute error |
Referenced by SphericalSuperQuadricCollision::actionsAfterSolve(), ContactDetectionNormalSpheresTest::actionsAfterTimeStep(), ContactDetectionRotatedSpheresTest::actionsAfterTimeStep(), checkTemplate(), compareParticles(), isEqual(), main(), TriangleMeshWall::moveVerticesToMatchVolume(), SuperQuadricParticle::setBoundingRadius(), MercuryBase::setHGridCellOverSizeRatio(), BouncingSuperQuadric::setupInitialConditions(), SlidingSpheresUnitTest::setupInitialConditions(), ContactDetectionNormalSpheresTest::setupInitialConditions(), ContactDetectionRotatedSpheresTest::setupInitialConditions(), BoundingRadiusTester::test(), ContactDetectionNormalSpheresTest::test(), VolumeTest::test(), Packing::test(), HertzContactRestitutionUnitTest::test(), test1(), test2(), ShapeGradientHessianTester::testCushion(), ShapeGradientHessianTester::testEllipsoid(), ContactDetectionWithWallTester::testEllipsoidsContact(), ShapeGradientHessianTester::testRoundedBeam(), ShapeGradientHessianTester::testSphere(), and ContactDetectionWithWallTester::testSpheresContact().
bool mathsFunc::isEqual | ( | Quaternion | v1, |
Quaternion | v2, | ||
double | absError | ||
) |
References Quaternion::getComponent(), and isEqual().
Compares the difference of two Vec3D with an absolute error, useful in UnitTests.
[in] | v1 | The first Vec3D |
[in] | v2 | The second Vec3D |
[in] | absError | The allowed maximum absolute error |
References A, Global_Physical_Variables::E, exp(), Global_Physical_Variables::P, and R.
Referenced by CircularPeriodicBoundary::checkBoundaryAfterParticleMoved(), LiquidMigrationLSInteraction::computeAdhesionForce(), helpers::computeDisptFromCollisionTimeAndRestitutionCoefficientAndTangentialRestitutionCoefficientAndEffectiveMass(), CircularPeriodicBoundary::createPeriodicParticle(), MD_demo::DistInt(), HeatFluidCoupledSpecies< NormalForceSpecies >::f(), RNG::getNormalVariate(), main(), particleParticleTest(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficient(), LinearPlasticViscoelasticNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), LinearViscoelasticNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), SinterLinNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), SinterNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), SPHNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), Calibration::setPSD(), Material::setPSD(), LinearPlasticViscoelasticNormalSpecies::setRestitutionCoefficient(), LinearViscoelasticNormalSpecies::setRestitutionCoefficient(), SinterLinNormalSpecies::setRestitutionCoefficient(), SPHNormalSpecies::setRestitutionCoefficient(), SinterLinNormalSpecies::setStiffnessAndRestitutionCoefficient(), SinterNormalSpecies::setStiffnessAndRestitutionCoefficient(), StressStrainControl::setupInitialConditions(), SegregationPeriodic::setupInitialConditions(), RandomClusterInsertionBoundarySelfTest::setupInitialConditions(), and wallParticleTest().
int mathsFunc::sign | ( | T | val | ) |
This is a sign function, it returns -1 for negative numbers, 1 for positive numbers and 0 for 0.
Referenced by PeriodicBoundaryHandler::checkIsReal(), SuperQuadricParticle::computeHessianLabFixed(), SuperQuadricParticle::computeShapeGradientLabFixed(), HorizontalScrew::getDistanceAndNormal(), Screw::getDistanceAndNormalLabCoordinates(), InfiniteWall::getFurthestPointSuperQuadric(), and PeriodicBoundaryHandler::updateParticles().
References constants::i, and constants::pi.
Referenced by VerticalMixerAngledBlades::addBlades(), ChuteWithHopper::addHopper(), VerticalMixerAngledBlades::addPrettyBlades(), ChuteWithWedge::addWedge(), BaseCluster::computeInternalStructure(), SinterLinInteraction::computeNormalForce(), Funnel::create_funnel(), SegregationWithHopper::create_inflow_particle(), AxisymmetricHopper::create_inflow_particle(), Funnel::create_inflow_particle(), LevelSetWall::createVTKSphere(), HorizontalBaseScrew::getDistanceAndNormal(), HorizontalScrew::getDistanceAndNormal(), Coil::getDistanceAndNormal(), InfiniteWallWithHole::getDistanceAndNormal(), SineWall::getDistanceAndNormal(), VChute::getDistanceAndNormal(), Screw::getDistanceAndNormalLabCoordinates(), Vec3D::getFromCylindricalCoordinates(), ChuteWithHopper::getMaximumVelocityInducedByGravity(), RNG::getNormalVariate(), main(), objectivenessTest(), BaseCluster::particleInsertionSuccessful(), HopperInsertionBoundary::placeParticle(), protectiveWall::protectiveWall(), CircularPeriodicBoundary::rotateParticle(), ClumpParticle::rotatePrincipalDirections(), ScaleCoupledBeam::ScaleCoupledBeam(), ChutePeriodic::set_chute_parameters(), Cstatic3D::set_particle_properties(), Slide::set_Walls(), Quaternion::setAngleZ(), Chute::setChuteAngleAndMagnitudeOfGravity(), CurvyChute::setChuteAngleAndMagnitudeOfGravity(), Quaternion::setEuler(), T_protectiveWall::setupInitialConditions(), AxisymmetricHopper::setupInitialConditions(), NozzleDemo::setupInitialConditions(), Binary::setupInitialConditions(), my_problem::setupInitialConditions(), HourGlass::setupInitialConditions(), MinimalExampleDrum::setupInitialConditions(), Cstatic3D::setupInitialConditions(), RotatingDrum::setupInitialConditions(), ConstantMassFlowMaserBoundaryMixedSpeciesSelfTest::setupInitialConditions(), ConstantMassFlowMaserSelfTest::setupInitialConditions(), NozzleSelfTest::setupInitialConditions(), DrumRot::setupInitialConditions(), protectiveWall::setupInitialConditions(), Tutorial11::setupInitialConditions(), DrivenParticleClass::setupInitialConditions(), ExtremeOverlapWithWallsUnitTest::setupInitialConditions(), T_protectiveWall::T_protectiveWall(), tan(), UniformRandomPDs(), Funnel::update_funnel(), AxisymmetricIntersectionOfWalls::writeVTK(), HorizontalBaseScrew::writeVTK(), HorizontalScrew::writeVTK(), Screw::writeVTK(), and ScrewsymmetricIntersectionOfWalls::writeVTK().
T mathsFunc::square | ( | const T | val | ) |
squares a number
Referenced by AngleOfRepose::actionsBeforeTimeStep(), DPMBase::checkParticleForInteractionLocal(), helpers::computeDisptFromCollisionTimeAndRestitutionCoefficientAndTangentialRestitutionCoefficientAndEffectiveMass(), FrictionInteraction::computeFrictionForce(), MindlinRollingTorsionInteraction::computeFrictionForce(), SlidingFrictionInteraction::computeFrictionForce(), ChuteWithPeriodicInflow::computeInternalForces(), BaseParticle::computeMass(), SinterInteraction::computeNormalForce(), HertzianSinterInteraction::computeSinterForce(), LinearPlasticViscoelasticNormalSpecies::computeTimeStep(), LinearViscoelasticNormalSpecies::computeTimeStep(), SinterLinNormalSpecies::computeTimeStep(), SinterNormalSpecies::computeTimeStep(), PSD::convertProbabilityDensityNumberDistributionToProbabilityDensityVolumeDistribution(), PSD::convertProbabilityDensityToProbabilityDensityNumberDistribution(), PSDContinuous::convertSubtractiveNumberToVolume(), PSDContinuous::convertSubtractiveVolumeToNumber(), AngleOfRepose::create_inflow_particle(), Slide::create_rough_wall(), Matrix3D::deviator(), statistics_while_running< T >::finishStatistics(), SinterNormalSpecies::getCollisionTime(), LinearPlasticViscoelasticNormalSpecies::getCollisionTime(), LinearViscoelasticNormalSpecies::getCollisionTime(), SinterLinNormalSpecies::getCollisionTime(), SPHNormalSpecies::getCollisionTime(), HertzianViscoelasticNormalSpecies::getCollisionTime(), StatisticsVector< T >::getCutoff2(), HorizontalScrew::getDistanceAndNormal(), Coil::getDistanceAndNormal(), ParabolaChute::getDistanceAndNormal(), SineWall::getDistanceAndNormal(), Screw::getDistanceAndNormalLabCoordinates(), CGCoordinates::R::getDistanceSquared(), CGCoordinates::RZ::getDistanceSquared(), CGCoordinates::X::getDistanceSquared(), CGCoordinates::XY::getDistanceSquared(), CGCoordinates::XZ::getDistanceSquared(), CGCoordinates::Y::getDistanceSquared(), CGCoordinates::YZ::getDistanceSquared(), CGCoordinates::Z::getDistanceSquared(), ChargedBondedInteraction::getElasticEnergy(), IrreversibleAdhesiveInteraction::getElasticEnergy(), HertzianSinterInteraction::getElasticEnergy(), HertzianViscoelasticInteraction::getElasticEnergy(), LinearPlasticViscoelasticInteraction::getElasticEnergy(), LinearViscoelasticInteraction::getElasticEnergy(), SinterInteraction::getElasticEnergy(), SinterLinInteraction::getElasticEnergy(), SPHInteraction::getElasticEnergy(), HertzianViscoelasticInteraction::getElasticEnergyAtEquilibrium(), CGCoordinates::Base_X_Y_Z::getGaussIntegralPrefactor(), CGCoordinates::Base_XY_XZ_YZ::getGaussIntegralPrefactor(), CGCoordinates::XYZ::getGaussIntegralPrefactor(), CGCoordinates::Base_XY_XZ_YZ::getGaussPrefactor(), CGCoordinates::XYZ::getGaussPrefactor(), WallSpecies::getInfo(), helpers::getMaximumVelocity(), CGFields::GradVelocityField::getSquared(), CGFields::LiquidMigrationFields::getSquared(), CGFields::StandardFields::getSquared(), CGCoordinates::RZ::getTangentialSquared(), CGCoordinates::XY::getTangentialSquared(), CGCoordinates::XYZ::getTangentialSquared(), CGCoordinates::XZ::getTangentialSquared(), CGCoordinates::YZ::getTangentialSquared(), Mercury3D::hGridFindContactsWithTargetCell(), MercuryBase::hGridUpdateMove(), BaseParticle::isInContactWith(), main(), CGCoordinates::Base_XY_XZ_YZ::normalisePolynomialCoefficients(), particleParticleTest(), statistics_while_running< T >::processStatistics(), Vreman::set_symmetric_contraction(), ContractionWithPeriodicInflow::set_symmetric_contraction(), ChuteWithPeriodicInflowAndContraction::set_symmetric_contraction(), ChuteWithContraction::set_symmetric_contraction(), SuperQuadricParticle::setBoundingRadius(), StatisticsVector< T >::setCGWidth(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficient(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficientNoDispt(), LinearPlasticViscoelasticNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), LinearViscoelasticNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), SinterLinNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), SinterNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), SPHNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), LinearPlasticViscoelasticNormalSpecies::setRestitutionCoefficient(), LinearViscoelasticNormalSpecies::setRestitutionCoefficient(), SinterLinNormalSpecies::setRestitutionCoefficient(), SPHNormalSpecies::setRestitutionCoefficient(), SinterLinNormalSpecies::setStiffnessAndRestitutionCoefficient(), SinterNormalSpecies::setStiffnessAndRestitutionCoefficient(), RotatingDrumWet::setupInitialConditions(), StressStrainControl::setupInitialConditions(), AngleOfRepose::setupInitialConditions(), HertzianSinterForceUnitTest::setupInitialConditions(), SinterForceUnitTest::setupInitialConditions(), Matrix3D::square(), MatrixSymmetric3D::square(), and wallParticleTest().
T mathsFunc::tan | ( | T | x | ) |
Referenced by ChuteWithHopper::addHopper(), BoundariesSelfTest::BoundariesSelfTest(), LiquidMigrationLSInteraction::computeAdhesionForce(), SinterLinInteraction::computeNormalForce(), SegregationWithHopper::create_inflow_particle(), FluxAndPeriodicBoundarySelfTest::FluxAndPeriodicBoundarySelfTest(), FluxBoundarySelfTest::FluxBoundarySelfTest(), VChute::getDistanceAndNormal(), SilbertHstop::IsAboveCurve(), LeesEdwardsDemo::LeesEdwardsDemo(), main(), ChuteWithHopper::setHopper(), SilbertHstop::solve_analytic(), TimeDependentPeriodicBoundary3DSelfTest::TimeDependentPeriodicBoundary3DSelfTest(), and TimeDependentPeriodicBoundaryTest::TimeDependentPeriodicBoundaryTest().