- #1
laminatedevildoll
- 211
- 0
Does anyone know the fortran code for projecting a grid (cartesian or not) onto a surface?
Thnx
Thnx
PerennialII said:think might have somewhere or could find a reference or extract from some code, you want it for linears, quads ... ?
laminatedevildoll said:yeah, that'd be great.
neurocomp2003 said:if your willing to do it your self...the equation of a sphere is easy...then you do equal interval divisions along the latitude and longitude. The connecting points for the mesh is an easy pattern for either the quadmesh or trimesh(being alittle complicated then the former).
Fortran is a programming language commonly used in scientific and engineering applications. The code for projecting a grid on to a surface involves using mathematical algorithms to map a two-dimensional grid onto a three-dimensional surface.
The purpose of projecting a grid on to a surface is to visualize and analyze data that is represented on a two-dimensional grid in a more realistic and accurate manner. This is often used in geospatial analysis and computer graphics.
The exact steps may vary depending on the specific code used, but generally, the process involves defining the grid points, identifying the surface to be projected on, and using mathematical equations to calculate the coordinates of the projected points.
Yes, Fortran code can be used to project a grid onto any type of surface, as long as the mathematical equations used are appropriate for the specific surface being projected on. This includes both regular and irregular surfaces.
As with any programming language, there may be limitations or challenges when using Fortran code for projecting a grid on to a surface. This can include complex data structures, handling large amounts of data, and potential errors in the code. However, with proper knowledge and understanding of the language, these limitations can be overcome.