Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Laurell, Pontus Bengt Johan
dmrgpp
Commits
6f88cb20
Commit
6f88cb20
authored
Mar 02, 2021
by
Alvarez, Gonzalo
Browse files
SU(3) model: compiles
parent
075a5586
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/Models/Su3/Su3Model.h
View file @
6f88cb20
...
...
@@ -248,8 +248,8 @@ private:
qns
.
resize
(
basis
.
size
(),
QnType
::
zero
());
for
(
SizeType
i
=
0
;
i
<
basis
.
size
();
++
i
)
{
PairType
jmpair
(
0
,
0
);
other
[
0
]
=
su3Rep_
.
t3OfState
(
i
);
other
[
1
]
=
su3Rep_
.
t8OfState
(
i
);
other
[
0
]
=
su3Rep_
->
t3OfState
(
i
);
other
[
1
]
=
su3Rep_
->
t8OfState
(
i
);
SizeType
flavor
=
1
;
qns
[
i
]
=
QnType
(
false
,
other
,
jmpair
,
flavor
);
}
...
...
src/Models/Su3/Su3RepresentationBase.h
View file @
6f88cb20
...
...
@@ -13,7 +13,11 @@ public:
virtual
~
Su3RepresentationBase
()
{}
virtual
void
getMatrix
(
MatrixType
&
m
,
SizeType
n
)
const
=
0
;
virtual
void
getMatrix
(
MatrixType
&
,
SizeType
)
const
=
0
;
virtual
SizeType
t3OfState
(
SizeType
)
const
=
0
;
virtual
SizeType
t8OfState
(
SizeType
)
const
=
0
;
virtual
SizeType
size
()
const
=
0
;
};
...
...
src/Models/Su3/Su3RepresentationP1.h
View file @
6f88cb20
...
...
@@ -17,6 +17,16 @@ public:
throw
PsimagLite
::
RuntimeError
(
"getMatrix: not implemented yet
\n
"
);
}
SizeType
t3OfState
(
SizeType
)
const
{
throw
PsimagLite
::
RuntimeError
(
"t3OfState: not implemented yet
\n
"
);
}
SizeType
t8OfState
(
SizeType
)
const
{
throw
PsimagLite
::
RuntimeError
(
"t8OfState: not implemented yet
\n
"
);
}
SizeType
size
()
const
{
return
3
;
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment