Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
mkgeo_contraction Namespace Reference

Variables

str nx = ""
 
int nx_default = 1
 
int c = 4
 
int Lu = 20
 
int Ld = 20
 
float hmin = 0.1
 
 split = false
 
 clean = true
 
 verbose = false
 
str name = "contraction"
 
str usage = "usage: mkgeo_contraction [nx=$nx_default [ny=nx]] [-c float=$c] [-Lu float=$Lu] [-Ld float=$Ld] [-rz|-zr] [-hmin float=$hmin] [-name string=$name] [-[no]split] [-[no]clean] [-[no]verbose]"
 
str pkgbindir = "`rheolef-config --pkglibdir`"
 
 ny = $nx
 
 sys_coord_opt
 
str to_clean = ""
 
float h = 0.3
 
float h0 = `echo $hmin $nx | awk '{print 1.0*$1/$2}'`
 
float hd = `echo $h $nx | awk '{print 1.0*$1/$2}'`
 
float hu = `echo $h $c $nx | awk '{print 1.0*$1*$2/$3}'`
 
float hux = `echo $h $Lu $nx | awk '{print 1.0*$1*$2/$3}'`
 
float huy = `echo $h $c $ny | awk '{print 1.0*$1*$2/$3}'`
 
float hdx = `echo $h $Ld $nx | awk '{print 1.0*$1*$2/$3}'`
 
float hdy = `echo $h $ny | awk '{print 1.0*$1/$2}'`
 
float m0 = ` echo $h0 | awk '{print 1./($1*$1) }'`
 
float md = ` echo $hd | awk '{print 1./($1*$1) }'`
 
float mu = ` echo $hu | awk '{print 1./($1*$1) }'`
 
float mux = `echo $hux | awk '{print 1./($1*$1) }'`
 
float muy = `echo $huy | awk '{print 1./($1*$1) }'`
 
float mdx = `echo $hdx | awk '{print 1./($1*$1) }'`
 
float mdy = `echo $hdy | awk '{print 1./($1*$1) }'`
 
int c2 = `echo $c $Ld | awk '{ c2 = 2*$1; print (c2 < $2 ? c2 : $2) }'`
 
str command = "bamg -g $name.bamgcad -M $name.mtr -o $name.bamg"
 
 status = $?
 
str filter = "| ${pkgbindir}/geo_split | geo -upgrade -geo -"
 

Variable Documentation

◆ nx

int nx = ""

Definition at line 124 of file mkgeo_contraction.sh.

◆ nx_default

int nx_default = 1

Definition at line 125 of file mkgeo_contraction.sh.

◆ c

c = 4

Definition at line 126 of file mkgeo_contraction.sh.

◆ Lu

Lu = 20

Definition at line 127 of file mkgeo_contraction.sh.

◆ Ld

Ld = 20

Definition at line 128 of file mkgeo_contraction.sh.

◆ hmin

hmin = 0.1

Definition at line 129 of file mkgeo_contraction.sh.

◆ split

split = false

Definition at line 130 of file mkgeo_contraction.sh.

◆ clean

clean = true

Definition at line 131 of file mkgeo_contraction.sh.

◆ verbose

verbose = false

Definition at line 132 of file mkgeo_contraction.sh.

◆ name

name = "contraction"

Definition at line 133 of file mkgeo_contraction.sh.

◆ usage

str usage = "usage: mkgeo_contraction [nx=$nx_default [ny=nx]] [-c float=$c] [-Lu float=$Lu] [-Ld float=$Ld] [-rz|-zr] [-hmin float=$hmin] [-name string=$name] [-[no]split] [-[no]clean] [-[no]verbose]"

Definition at line 134 of file mkgeo_contraction.sh.

◆ pkgbindir

str pkgbindir = "`rheolef-config --pkglibdir`"

Definition at line 146 of file mkgeo_contraction.sh.

◆ ny

str ny = $nx

Definition at line 150 of file mkgeo_contraction.sh.

◆ sys_coord_opt

sys_coord_opt

Definition at line 154 of file mkgeo_contraction.sh.

◆ to_clean

str to_clean = ""

Definition at line 175 of file mkgeo_contraction.sh.

◆ h

float h = 0.3

Definition at line 179 of file mkgeo_contraction.sh.

◆ h0

float h0 = `echo $hmin $nx | awk '{print 1.0*$1/$2}'`

Definition at line 180 of file mkgeo_contraction.sh.

◆ hd

float hd = `echo $h $nx | awk '{print 1.0*$1/$2}'`

Definition at line 181 of file mkgeo_contraction.sh.

◆ hu

float hu = `echo $h $c $nx | awk '{print 1.0*$1*$2/$3}'`

Definition at line 182 of file mkgeo_contraction.sh.

◆ hux

float hux = `echo $h $Lu $nx | awk '{print 1.0*$1*$2/$3}'`

Definition at line 183 of file mkgeo_contraction.sh.

◆ huy

float huy = `echo $h $c $ny | awk '{print 1.0*$1*$2/$3}'`

Definition at line 184 of file mkgeo_contraction.sh.

◆ hdx

float hdx = `echo $h $Ld $nx | awk '{print 1.0*$1*$2/$3}'`

Definition at line 185 of file mkgeo_contraction.sh.

◆ hdy

float hdy = `echo $h $ny | awk '{print 1.0*$1/$2}'`

Definition at line 186 of file mkgeo_contraction.sh.

◆ m0

float m0 = ` echo $h0 | awk '{print 1./($1*$1) }'`

Definition at line 191 of file mkgeo_contraction.sh.

◆ md

float md = ` echo $hd | awk '{print 1./($1*$1) }'`

Definition at line 192 of file mkgeo_contraction.sh.

◆ mu

float mu = ` echo $hu | awk '{print 1./($1*$1) }'`

Definition at line 193 of file mkgeo_contraction.sh.

◆ mux

float mux = `echo $hux | awk '{print 1./($1*$1) }'`

Definition at line 194 of file mkgeo_contraction.sh.

◆ muy

float muy = `echo $huy | awk '{print 1./($1*$1) }'`

Definition at line 195 of file mkgeo_contraction.sh.

◆ mdx

float mdx = `echo $hdx | awk '{print 1./($1*$1) }'`

Definition at line 196 of file mkgeo_contraction.sh.

◆ mdy

float mdy = `echo $hdy | awk '{print 1./($1*$1) }'`

Definition at line 197 of file mkgeo_contraction.sh.

◆ c2

int c2 = `echo $c $Ld | awk '{ c2 = 2*$1; print (c2 < $2 ? c2 : $2) }'`

Definition at line 199 of file mkgeo_contraction.sh.

◆ command

str command = "bamg -g $name.bamgcad -M $name.mtr -o $name.bamg"

Definition at line 281 of file mkgeo_contraction.sh.

◆ status

status = $?

Definition at line 290 of file mkgeo_contraction.sh.

◆ filter

str filter = "| ${pkgbindir}/geo_split | geo -upgrade -geo -"

Definition at line 299 of file mkgeo_contraction.sh.