1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Add fastcap , a three-dimensional capacitance extraction program.

PR:		ports/93968
Submitted by:	Pedro Giffuni <giffunip@asme.org>
This commit is contained in:
Renato Botelho 2006-03-15 10:36:29 +00:00
parent fadc2e1699
commit 8aa1e9d39c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157198
5 changed files with 113 additions and 0 deletions

View File

@ -18,6 +18,7 @@
SUBDIR += devisor
SUBDIR += dft++
SUBDIR += euler
SUBDIR += fastcap
SUBDIR += felt
SUBDIR += flounder
SUBDIR += gave

43
science/fastcap/Makefile Normal file
View File

@ -0,0 +1,43 @@
# New ports collection makefile for: FastCap
# Date created: 5 Jan 2006
# Whom: Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#
PORTNAME= fastcap
DISTVERSION= ${P_VERSION}wr
CATEGORIES= science cad
MASTER_SITES= ftp://ftp.srware.com/pub/ \
http://www.wrcad.com/ftp/pub/
MAINTAINER= giffunip@asme.org
COMMENT= A three-dimensional capacitance extraction program
P_VERSION= 2.0
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= config
BINFILES= busgen capgen cubegen fastcap pipedgen pyragen
post-patch:
@${REINPLACE_CMD} -e 's,TYPE=other,TYPE=4,' \
${WRKSRC}/config
@${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=,' \
${WRKSRC}/src/Makefile.4
do-install:
.for b in ${BINFILES}
@${INSTALL_PROGRAM} ${WRKSRC}/bin/${b} ${PREFIX}/bin/
.endfor
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CAT} ${WRKSRC}/README ${WRKSRC}/README.mit > ${DOCSDIR}/readme
${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR}
${GZIP_CMD} ${DOCSDIR}/*
.endif
.include <bsd.port.mk>

3
science/fastcap/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (fastcap-2.0wr.tar.gz) = 6cc1f17175d73c5f808e99a0713a7c65
SHA256 (fastcap-2.0wr.tar.gz) = f47f9f04d1ce750a6e005ffb0ce3dfeb9ef511e930b81bb9f9988fb71a82eb39
SIZE (fastcap-2.0wr.tar.gz) = 1607118

20
science/fastcap/pkg-descr Normal file
View File

@ -0,0 +1,20 @@
FastCap computes self and mutual capacitances between ideal
conductors of arbitrary shapes, orientations and sizes.
The conductors can be embedded in a dielectric region composed
of any number of constant-permittivity regions of any shape and
size.
The algorithm used in FastCap is an acceleration of the
boundary-element technique for solving the integral equation
associated with the multiple-conductor, multiple-dielectric
capacitance extraction problem. The linear system resulting
from the boundary-element discretization is solved using a
generalized conjugate residual algorithm with a fast multipole
algorithm to efficiently compute the iterates.
---------------------
This version of fastcap has been cleaned up and enhanced by Stephen R.
Whiteley of Whitleley Research Inc.
---------------------
WWW: http://www.rle.mit.edu/cpg/research_codes.htm

46
science/fastcap/pkg-plist Normal file
View File

@ -0,0 +1,46 @@
bin/busgen
bin/capgen
bin/cubegen
bin/fastcap
bin/pipedgen
bin/pyragen
%%EXAMPLESDIR%%/1x1bus.lst
%%EXAMPLESDIR%%/1x1coarse.neu
%%EXAMPLESDIR%%/1x1fine.neu
%%EXAMPLESDIR%%/1x1nonuni.neu
%%EXAMPLESDIR%%/README
%%EXAMPLESDIR%%/big_sphere1.neu
%%EXAMPLESDIR%%/coated_sph.lst
%%EXAMPLESDIR%%/cond_air_1x1.qui
%%EXAMPLESDIR%%/cond_dielec_1x1.qui
%%EXAMPLESDIR%%/connector2.sh
%%EXAMPLESDIR%%/connector3.sh
%%EXAMPLESDIR%%/connector4.sh
%%EXAMPLESDIR%%/cubeeg.fig
%%EXAMPLESDIR%%/dielec_face.neu
%%EXAMPLESDIR%%/dielec_sides.neu
%%EXAMPLESDIR%%/dielec_sides_2x2.neu
%%EXAMPLESDIR%%/dielec_topbot.neu
%%EXAMPLESDIR%%/pin
%%EXAMPLESDIR%%/pipeeg.fig
%%EXAMPLESDIR%%/ramcell.lst
%%EXAMPLESDIR%%/ramcell.out
%%EXAMPLESDIR%%/ramcell_bitl.neu
%%EXAMPLESDIR%%/ramcell_botd.neu
%%EXAMPLESDIR%%/ramcell_cond.neu
%%EXAMPLESDIR%%/ramcell_gnd.neu
%%EXAMPLESDIR%%/ramcell_test.neu
%%EXAMPLESDIR%%/ramcell_topd.neu
%%EXAMPLESDIR%%/ramgen.sh
%%EXAMPLESDIR%%/sphere1.neu
%%EXAMPLESDIR%%/sphere2.neu
%%EXAMPLESDIR%%/sphere3.neu
%%EXAMPLESDIR%%/testgen.sh
%%EXAMPLESDIR%%/testrun.sh
%%EXAMPLESDIR%%/via.neu
%%PORTDOCS%%%%DOCSDIR%%/mtt.ps.gz
%%PORTDOCS%%%%DOCSDIR%%/tcad.ps.gz
%%PORTDOCS%%%%DOCSDIR%%/ug.ps.gz
%%PORTDOCS%%%%DOCSDIR%%/readme.gz
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%