Download User Manual Adaptive Multi-Resolution Wavelet
Transcript
Modeling, Simulation, and Visualization Environment 5.3.6 FUNCTION Laplace diag This is where the diagonal term used in the Laplace equation definition is made. A function similar to c_diff_fast, yet only gives the diagonal terms is c_diff_diag. 5.3.7 FUNCTION Laplace rhs This is where f in equation 2 can be defined. Since f is already defined in user_initial_condtions, is passed directly to Linsolve and is not required anywhere else in the code, it does not need to be here. 5.3.8 SUBROUTINE user read input No parameters are read from the input file for this example. 5.3.9 SUBROUTINE user scales The default scales are used for this case 5.4 CaseFile.inp Details: Elliptic Solver All of the paramters are set up in the same way as the previous example except that t_end=0. This prevents the time integration from beginning and outputs only the final solution to the elliptic problem in the results/ subdirectory. The output file will end in 0000.res since it is the first output file of problem. 25