06-13-2012
There is no space between < and (
This User Gave Thanks to Scott For This Post:
8 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hello All.
Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start)
1. xorg-x11-f100
2. xorg-x11-fnts
Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies
2. UNIX Desktop Questions & Answers
For preliminaries, I am on a Mac Pro running 10.5. I am trying to run a program that opens an X11 graphic and plots a mesh. The little program is called showme. It has worked just fine in the past. Up until I had to make a new user account on this machine for myself. Now every time I try to... (8 Replies)
Discussion started by: Bocephus85
8 Replies
3. OS X (Apple)
Hello,
When I paste the contents of the clipboard to the command line via pbpaste, there is also a carriage return implicitly pasted (i.e. whatever gets pasted is automatically sent as a command). Is there a way to use pbpaste without this feature, so I can edit the text before sending the... (6 Replies)
Discussion started by: palex
6 Replies
4. UNIX for Advanced & Expert Users
I can log into a unix system with Putty. I've set the "X11 forwarding" checkbox, and I've verified that I can display an X11 window back on my laptop. What I need to be able to do is "su" to another uid after logging in and then run something which display a window back on my laptop, with the... (2 Replies)
Discussion started by: dkarr
2 Replies
5. UNIX for Dummies Questions & Answers
Is it possible to execute a pbpaste command to an application or current application in focus?
Thanks (0 Replies)
Discussion started by: fhill2
0 Replies
6. Shell Programming and Scripting
Hi,
mac.txt
My mac address is <Mac Address>.
How can i replace <Mac Address> with the actual of my computer?
I try to GREP command as below but i am unable to grep it to replace just <Mac Address>.
ifconfig eth0 | grep -o -E '(]{1,2}:){5}]{1,2}'
Million in Advance.
Please use... (7 Replies)
Discussion started by: derrickyee81
7 Replies
7. Shell Programming and Scripting
Hi all,
I got a new mac and can't get grep, awk etc to work.
I tried the following command:
grep DICER test.txt
output:
AGOER
text.txt looks like this:
DICER
DICER
AGOWhat is wrong?
Please use code tags (23 Replies)
Discussion started by: Palgrave
23 Replies
8. OS X (Apple)
cat file
1 aaa
2 bbb
3 ccc
4 ddd
In TextEdit, I then copy the characters “ccc” to the clipboard. The problem is that the following command gives no output:
bash-3.2$ pbpaste | grep - file
Desired output:
3 ccc
What should the syntax be for that command? I am using MacOS El... (3 Replies)
Discussion started by: palex
3 Replies
LEARN ABOUT DEBIAN
s_curl
s_curl(3rheolef) rheolef-6.1 s_curl(3rheolef)
NAME
s_curl -- curl-like operator for the Stokes stream function computation
SYNOPSIS
form(const space M, const space& V, "s_curl");
DESCRIPTION
Assembly the form associated to the s_curl operator on a finite element space V:
/
|
b(xi,u) = | u.s_curl(xi) dx
|
/ Omega
The M and V space may be a either P1 or P2 finite element space. The M space is scalar-valued while the V is vector-valued. See also
form(2) and space(2).
For cartesian coordinate systems, this form coincide with the usual "curl" one (see curl(3)). In the axisymmetric case:
/
| (d xi d xi )
b(xi,u) = | (---- ur - ---- uz) r dr dz
| (d z d r )
/ Omega
The b form is denoted as "s_curl", for Stokes stream function computation (see s_grad_grad(3)) as it is closely related to the "curl" oper-
ator (see curl(3)), but differs by the r and 1/r factors, as:
( d (r xi) d xi )
curl(xi) = ( (1/r) -------- ; - -----)
( d r d z )
while
( d xi d xi )
s_curl(xi) = ( ---- ; - ---- )
( d r d z )
Notice also that the differentiation is performed on the xi variable here: b(xi,u)=(s_curl(xi),u) while the "curl" form brings the differ-
entiation on the u vector-valued variable: (curl(u),xi), i.e. a transpose formulation.
ORIENTATION AND SIGN FIX
The (r,theta,z) coordinate system has positive orientation, thus (z,r,theta) and (z,r) are positive also. But (r,z,theta) and (r,z) are
negative : the sign of s_curl is then inverted to obtain the same result as if (z,r) was used.
EXAMPLE
The following piece of code build the form associated to the P1 approximation:
geo g("square");
space M(g, "P1");
space V(g, "P1", "vector");
form a(M, V, "s_curl");
SEE ALSO
form(2), space(2), curl(3), s_grad_grad(3), curl(3)
rheolef-6.1 rheolef-6.1 s_curl(3rheolef)