OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
simple_example.m File Reference

Go to the source code of this file.

Functions

BEGIN OPTIONAL PART TO ILLUSTRATE THE USE OF MAXIMUM TRANSVERSAL id ICNTL (7)
id ICNTL (6)
id ICNTL (8)
id ICNTL (14)
we see that there is a memory problem in INFOG (1) and INFOG(2) id.INFOG(1) id.INFOG(2) % we activate the numerical maximun transversal fprintf('total number of nonzeros in factors %d\n'
we see that there is a memory problem in id INFOG (10))
end norm (mat *id.SOL - ones(size(mat, 1), 1), 'inf') % destroy mumps instance SOL

Variables

id SYM = 0
here JOB = -1
here the call to MUMPS will initialize C and fortran MUMPS structure id = dmumps(id)
load a sparse matrix load lhr01
 mat = Problem.A
we set the rigth hand side id RHS = ones(size(mat,1),1)
END OPTIONAL PART if(norm(mat *id.SOL - ones(size(mat, 1), 1), 'inf') > sqrt(eps)) disp('WARNING els disp )('SOLUTION OK')

Function Documentation

◆ ICNTL() [1/4]

id ICNTL ( 14 )

◆ ICNTL() [2/4]

id ICNTL ( 6 )

◆ ICNTL() [3/4]

BEGIN OPTIONAL PART TO ILLUSTRATE THE USE OF MAXIMUM TRANSVERSAL id ICNTL ( 7 )

◆ ICNTL() [4/4]

id ICNTL ( 8 )

◆ INFOG() [1/2]

we see that there is a memory problem in INFOG ( 1 )

◆ INFOG() [2/2]

we see that there is a memory problem in id INFOG ( 10 )

◆ norm()

end norm ( mat *id.SOL - onessize(mat, 1), 1,
'inf'  )

Variable Documentation

◆ disp

END OPTIONAL PART if(norm(mat *id.SOL - ones(size(mat, 1), 1), 'inf') > sqrt(eps)) disp( 'WARNING els disp) ( 'SOLUTION OK') ( 'SOLUTION OK' )

Definition at line 37 of file simple_example.m.

◆ id

call to mumps id = dmumps(id)

Definition at line 9 of file simple_example.m.

◆ JOB

id JOB = -1

Definition at line 7 of file simple_example.m.

◆ lhr01

load a sparse matrix load lhr01

Definition at line 11 of file simple_example.m.

◆ mat

mat = Problem.A

Definition at line 12 of file simple_example.m.

◆ RHS

we set the rigth hand side id RHS = ones(size(mat,1),1)

Definition at line 24 of file simple_example.m.

◆ SYM

id SYM = 0

Definition at line 5 of file simple_example.m.