Hi,
Can i choose the format of matrix by setting in the .sif?
In the code,i can set the format by Matrix%format=1,2,3,4,right?
But if there is no Matrix%format in my own code, the default format is CRS?
Where can i find the default set?
Thanks,
Coco
Matrix format
-
- Site Admin
- Posts: 4812
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: Matrix format
Hi Coco,
Currently supported formats are "List" and "CRS". Historically there was also "banded" but it had very little use so it is not much supported in the code. Also List is something that is mainly used internally to allow for flexible creation of the matrix topologies. Hence for most practical uses CRS is the only format to consider.
What kind of format would you need?
-Peter
Currently supported formats are "List" and "CRS". Historically there was also "banded" but it had very little use so it is not much supported in the code. Also List is something that is mainly used internally to allow for flexible creation of the matrix topologies. Hence for most practical uses CRS is the only format to consider.
What kind of format would you need?
-Peter
Re: Matrix format
Hi Peter,
Maybe i need CRS
I have no idea of List format of matrix
I want to know which format does shellsolver.f90 use.
By the way,I want to ask another question
When i declare a type Variable_t:: qq,there is a pointer qq%value.
I want to know where the target is. I think the pointer is point to the value of variable.
But i can't find the memory allocation.
Thanks,
Coco
Maybe i need CRS
I have no idea of List format of matrix
I want to know which format does shellsolver.f90 use.
By the way,I want to ask another question
When i declare a type Variable_t:: qq,there is a pointer qq%value.
I want to know where the target is. I think the pointer is point to the value of variable.
But i can't find the memory allocation.
Thanks,
Coco
-
- Site Admin
- Posts: 4812
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: Matrix format
Hi
All matrices are in CRS format when they go for solution. However, you should not need to think about the format unless you're developing something rather advanced.
Variable_t is a type that you may find defined in Types.F90
-Peter
All matrices are in CRS format when they go for solution. However, you should not need to think about the format unless you're developing something rather advanced.
Variable_t is a type that you may find defined in Types.F90
-Peter
Re: Matrix format
Hi,
I need to calculate the famula,like total=a1+a2+a3+...+an
So i need to define two variables: total and a.
right?
Coco
I need to calculate the famula,like total=a1+a2+a3+...+an
So i need to define two variables: total and a.
right?
Coco