Solving Diffuse Light Simulation with Double Integral Equation?

Click For Summary
SUMMARY

This discussion focuses on solving the diffuse light simulation problem using a double integral equation represented as L(x)=T(x)+c∫∫W(x,u1,u2)L(u1) du1 du2. The user suggests discretizing the equation, leading to a linear algebra formulation: L=(I-cW)^{-1}T. To compute L efficiently, the user recommends utilizing linear algebra solvers such as BLAS or LAPACK, which can handle large matrix dimensions effectively, even in the thousands.

PREREQUISITES
  • Understanding of double integral equations
  • Familiarity with linear algebra concepts
  • Knowledge of numerical methods for solving equations
  • Experience with BLAS or LAPACK libraries
NEXT STEPS
  • Research the implementation of double integral equations in numerical simulations
  • Learn about discretization techniques for integral equations
  • Explore the usage of BLAS and LAPACK for solving large linear systems
  • Study the properties of the identity matrix in linear algebra
USEFUL FOR

Researchers and developers in computational physics, engineers working on light simulation, and anyone involved in numerical methods for solving differential and integral equations.

Luonnos
Messages
2
Reaction score
0
Recently, I've been working on a program to simulate diffuse light, and I've hit a snag. I need to solve (at least so that a computer can compute L(x) quickly) something of the form:

[tex] L(x)=T(x)+c\int_0^{l_2}\int_0^{l_1} W(x,u_1,u_2) L(u_1) du_1 du_2[/tex]

W and T are pretty well behaved, and I can compute them and their integrals in a small amount of time. I'm pretty new to differential and integral equations, so any help would be appreciated.
 
Physics news on Phys.org
If you discretize this on a computer, then L will be a column vector with dimension equal to the number of grid points. First, you should be able to integrate out u2, since L is a function only of u1. Then I think you can write your equation as follows, where L and T are column vectors, c is a constant, I is the identity matrix, and W is a square matrix:
[tex]L = T + c W L[/tex]
[tex](I-c W) L = T[/tex]
[tex]L = (I-c W)^{-1} T[/tex]
Then you can use a linear algebra solver like BLAS or LAPACK to solve for L. These will find solutions even if the matrix dimensions are on the order of 1000's x 1000's.
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K