sibc1st.c File Reference


Detailed Description

This is sibc1st. The numproc solves the electric field vector wave equation in 3-dimensional space which is truncated by a cavity wall of finite thickness, thereby causing ohmic loss in the cavity boundary; the surface impedance is approximated as being constant over frequency, instead of varying as determined by the skin effect.

Copyright by Benedikt Oswald, 2002-2007, all rights reserved.

Objective: implementation file

Author:
Benedikt Oswald
Date:
2007 mar 20 ~ 13:40:00 by benedikt oswald
Warning:
none
Attention:
none required
Bug:
this is a research code.
Todo:
still big important things to do!

#include "sibc1st.h"

Functions

USING_UG_NAMESPACE static
USING_UGDIM_NAMESPACE INT 
SIBC1stInit (NP_BASE *base, INT argc, char **argv)
INT InitSIBC1st (void)


Function Documentation

INT InitSIBC1st ( void   ) 

This function is used in the main program acheron3dlgm for checking the sibc1st numproc into the UG framework.

USING_UG_NAMESPACE static USING_UGDIM_NAMESPACE INT SIBC1stInit ( NP_BASE *  base,
INT  argc,
char **  argv 
) [static]

SIBC1stInit - initialization funtion for the NUMPROC 'NP_SIBC1ST_SOLVER'; the function is called when npinit <sibc1st> is executed in the UG script

assignment of the function (1) read all vector and matric descriptors and link the variable names of the UG script with the pointers to said structures stored within UG. (2) assemble global matrices TMAT, SMAT and RMAT, if losses shall be considered in the computation

calling syntax for npinit <SIBC1st> is:

npinit <sibc1st> $EP efldp $EN efldpn $EM efldm $RHS rhs $TMAT tmat $RMAT rmat $SMAT smat $DT 10.0e-12;

where $EP efldp -> VECDATA_DESC structure for electric field along the edges of the element at time t_(n+1) $EN efldn -> VECDATA_DESC structure for electric field along the edges of the element at time t_(n) $EM efldm -> VECDATA_DESC structure for electric field along the edges of the element at time t_(n-1)

$RHS rhs -> VECDATA_DESC structure for the right-hand side of the linear system to be solved for

$TMAT tmat -> MATDATA_DESC structure for matrix containing the T matrix $RMAT rmat -> MATDATA_DESC structure for matrix containing the R matrix (losses) $SMAT smat -> MATDATA_DESC structure for matrix containing the S matrix $PRMAT smat -> MATDATA_DESC structure for matrix containing the PR resistive sibc matrix $PLMAT smat -> MATDATA_DESC structure for matrix containing the PL inductive sibc matrix

$DT 1.0e-12 -> DOUBLE value for the time step in the explicit scheme

now, compute surface resistance and surface inductance


Generated on Fri Oct 26 14:04:30 2007 for acheron3d by  doxygen 1.4.7