diag(4rheolef) rheolef-6.1 diag(4rheolef)NAME
diag - get diagonal part of a matrix
DESCRIPTION
This function get the diagonal part of a matrix.
csr<Float> a;
dia<Float> d = diag(a);
TODO
Build a csr matrix from a diagonal one or from a vector:
dia<Float> d;
csr<Float> a = diag(d);
vec<Float> u;
csr<Float> b = diag(u);
IMPLEMENTATION
template<class T, class M>
dia<T,M> diag (const csr<T,M>& a)
rheolef-6.1 rheolef-6.1 diag(4rheolef)
Check Out this Related Man Page
solver_abtb(2rheolef) rheolef-6.1 solver_abtb(2rheolef)NAME
solver_abtb -- direct or iterative solver iterface for mixed linear systems
SYNOPSIS
solver_abtb stokes (a,b,mp);
solver_abtb elasticity (a,b,c,mp);
DESCRIPTION
The solver_abtb class provides direct or iterative algorithms for some mixed problem:
[ A B^T ] [ u ] [ Mf ]
[ ] [ ] = [ ]
[ B -C ] [ p ] [ Mg ]
where A is symmetric positive definite and C is symmetric positive. By default, iterative algorithms are considered for tridimensional
problems and direct methods otherwise. Such mixed linear problems appears for instance with the discretization of Stokes problems. The C
matrix can be zero and then the corresponding argument can be omitted when invoking the constructor. Non-zero C matrix appears for of
Stokes problems with stabilized P1-P1 element, or for nearly incompressible elasticity problems.
DIRECT ALGORITHM
When the kernel of B^T is not reduced to zero, then the pressure p is defined up to a constant and the system is singular. In the case of
iterative methods, this is not a problem. But when using direct method, the system is then completed to impose a constraint on the pres-
sure term and the whole matrix is factored one time for all.
ITERATIVE ALGORITHM
The preconditionned conjugate gradient algorithm is used, where the mp matrix is used as preconditionner. See see mixed_solver(4).
EXAMPLES
See the user's manual for practical examples for the nearly incompressible elasticity, the Stokes and the Navier-Stokes problems.
IMPLEMENTATION
template <class T, class M = rheo_default_memory_model>
class solver_abtb_basic {
public:
// typedefs:
typedef typename csr<T,M>::size_type size_type;
// allocators:
solver_abtb_basic ();
solver_abtb_basic (const csr<T,M>& a, const csr<T,M>& b, const csr<T,M>& mp,
const solver_option_type& opt = solver_option_type());
solver_abtb_basic (const csr<T,M>& a, const csr<T,M>& b, const csr<T,M>& c, const csr<T,M>& mp,
const solver_option_type& opt = solver_option_type());
// accessors:
void solve (const vec<T,M>& f, const vec<T,M>& g, vec<T,M>& u, vec<T,M>& p) const;
protected:
// internal
void init();
// data:
mutable solver_option_type _opt;
csr<T,M> _a;
csr<T,M> _b;
csr<T,M> _c;
csr<T,M> _mp;
solver_basic<T,M> _sA;
solver_basic<T,M> _sa;
solver_basic<T,M> _smp;
bool _need_constraint;
};
typedef solver_abtb_basic<Float,rheo_default_memory_model> solver_abtb;
SEE ALSO mixed_solver(4)rheolef-6.1 rheolef-6.1 solver_abtb(2rheolef)
Problem: Several possible cooked Sun U10's.
Need: Sun Hardware Diag Tools.
I want to pound on these boxes and see whats what. I am wondering where I could find some Diag tools that will help me diag problems. Freeware is preferred. (The magic budget of $0) (7 Replies)
Hello all ,
This is the output of my prtdiag command ...The speed of each of the CPUs is listed below (1281 MHz ) ..That's fine ..I'm confused about the (System clock frequency: 183 MHZ ) ..What is the difference between System Clock freq and CPU freq ...THanks..
System Configuration: Sun... (5 Replies)
Hello Guys, :confused:
I have tried Up to my Levels
pls help me if u know any solution
Pls look out the following O/P,
Log Messages
=================================================
SUN> pwd
/usr/platform/SUNW,Sun-Fire-V240/sbin
SUN>
SUN>
SUN> prtdiag -v
bash: prtdiag: command not... (7 Replies)
I recently bought a sunblade 100 for $150 from a guy that posted it on craigslist. I'm trying to learn Solaris 10. Prior to giving me the system he had Ubuntu installed. He removed it for before giving it to me. I basically have a hard disk that has nothing installed in it. I tried installing... (6 Replies)
Hi, a couple of T2000 servers did not show the component status and the output was too short. There was a patch that needed to be installed. I also updated to the latest recommended patch cluster and OBP patch.
After reboot/restart of picl, it worked ok for a couple of weeks. Then suddenly it went... (12 Replies)
Hi everyone, newbie forum poster here. I'm an Oracle DBA and I require some guidance from the Unix gurus here about how to pinpoint where a problem is within a Solaris 9 system running on an 8 CPU Fujitsu server that acts as our Oracle database server. Our sysadmins are trying their best to... (13 Replies)
Hello Everyone!
I have a Sun Fire E2900. When I run a prtdiag -v, it fails to give complete information. It fails with the following error message "Prtdiag failed!Property not found".
Please help.
# which prtdiag
/usr/sbin/prtdiag
# ls -l /usr/sbin/prtdiag
-r-xr-xr-x 4 root bin 512... (10 Replies)
Hello,
I was under the impression that the Header of the prtdiag output shows the hardware vendor information in the section between System Configuration and sun4u/sun4us. But on some Solaris machines which are running on Fujitsu hardware, the vendor is shown as Sun Microsystems in this... (8 Replies)
Hi everyone,
Please can you tell me what kind of memro we are talking about when we run :
prtdiag -v
Memory size: 98016 Megabytes
Thank you (7 Replies)
i have learnt a little bit of shell scripting but not alot. i want to write a script to diagnose the network using ping and another script to traceroute. how would i do this? (6 Replies)
Hi Experts,
I want to print this charts diagonal data into straight lines.
This is a matrix 24X24 Horizontal and vertical.
- I want to print all the diagonal cutting characters into straight line:
Data:
E F S S A H A L L A T M C N O T S O B O D U Q H
I W I B N L O C N I L N L A N S I N... (9 Replies)
Hello,
I am using Red Hat 2.6.23.1 with RAID 6 controller (card).
(When I use "cat /proc/partitions" I do not see the separate HDDs in the RAID, I see one drive for the RAID itself, as it is considered 1 large drive.)
I used a "dd" check to test my RAID drive speed and found it was a bit slow,... (7 Replies)