VPMathFunctions MembersVirtual Photonics - VTS Library
Virtual Photonics

The MathFunctions type exposes the following members.
Methods

  NameDescription
Public methodStatic memberArea
Calculate area of a traingle
Public methodStatic memberAssignRegions
Assign region values to smesh[].Region variable
Public methodStatic memberCreateAnglularMesh
Create an angular mesh
Public methodStatic memberCreateMultigrid
Create Multigrid based on spatial mesh level
Public methodStatic memberCreateSquareMesh
Create a squarte mesh for given spatial mesh level
Public methodStatic memberFindMin
find the minimum from the vector d with the size n.
Public methodStatic memberHGPhaseFunction_2D
This function describes phase function or scattering kernel and is set to be Henyey-Greenstein phase function
Public methodStatic memberIntepolation_a
find two linearly intepolated angles "b" and weights "b2" for the angle "theta_m"
Public methodStatic memberLength
calculate the distance between two points
Public methodStatic memberSetMua
Set Mus in nodes
Public methodStatic memberSetMus
Set Mus in nodes
Public methodStatic memberSquareTriMeshToGrid
convert triangular mesh to a square mesh
Public methodStatic memberSweepOrdering
compute sweep ordering
Public methodStatic memberWeight_2D
This function provides angular weights and coordinates on 2D unit circular phase space.
Back to Top
See Also