Skip to content

View3D is a C program for the computation of geometric view factors.

License

Notifications You must be signed in to change notification settings

jasondegraw/View3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

View3D

View3D is a C program for the computation of geometric view factors.

This is View3D 4.0, a C language program for the calculation of geometric view factors. It utilizes a number of integration techniques to compute view factors between planar triangles or quadrilaterals in three dimensions. The original version of this program was developed at the National Institute of Standards and Technology by George Walton and was in the public domain. This version is released subject to the terms of the GNU GPL and is not in the public domain. Any files that have not been substantially modified are labeled as such and include the original NIST disclaimer.

Documentation

This version is not intended to behave differently than versions 3.2 or 3.3.1. The documentation for those programs is available from a number of sources:

Installation

View3D is a stand-alone executable. No installation is necessary.

Building the Program

The program is written in portable C, and thus should compile on most systems with a C compiler. No features from newer C standards are used. Makefiles for GCC and the Visual Studio compiler are included, and for those of you that desire a more painful experience CMake is now supported. Presently, most development work is done on Windows with the MinGW (32 bit) compilers. To build the program

  1. Download it and unpack it
  2. Build the program:
    • Makefiles: Open a command prompt or terminal window, change directories to where you put the source, and run
      • make to compile with GCC
      • nmake /F Makefile.windows to compile with the Visual Studio compiler
    • CMake: Create a build directory, point CMake at it and the source directory and then do the usual thing. This will build the program and the documentation (using the UseLatex CMake macros: www.github.com/kmorel/UseLATEX). This is relatively new and may not really work all that well yet.

That's it. Standard caveats with respect to paths apply.

Running the Program

The program is run from the command line:

View3D inputfile.vs3 outputfile

This will produce an two files in the current directory: outputfile and View3D.log.

-- Jason DeGraw

April 29, 2014

About

View3D is a C program for the computation of geometric view factors.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages