| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| documentation:language_reference:functions:newoperator [2026/11/12 17:58] – Maurits W. Haverkort | documentation:language_reference:functions:newoperator [2026/11/17 07:05] (current) – Maurits W. Haverkort |
|---|
| ====== NewOperator ====== | ====== NewOperator ====== |
| | ;;# |
| | <color #ed1c24>Modified in 0.9.1</color> |
| | ;;# |
| |
| ### | ### |
| //NewOperator(name, ...)// creates one of the standard operators as described in the section on standard operators. A "Basis" option on the last position selects the one particle basis the orbitals are in, see below. //[[documentation:language_reference:functions:angularmomentumoperators|AngularMomentumOperators()]]// creates several of the standard operators of a single atomic shell in one call. The operators //"Dirac"//, //"AU"// and //"NuclearMultipole"// act on atomic orbitals given by their radial functions, see below. | //NewOperator(name, ...)// creates one of the standard operators as described in the section on standard operators. A "Basis" option on the last position selects the one particle basis the orbitals are in, see below. //[[documentation:language_reference:functions:angularmomentumoperators|AngularMomentumOperators()]]// creates several of the standard operators of a single atomic shell in one call. The operators //[[documentation:standard_operators:dirac_operator|"Dirac"]]//, //[[documentation:standard_operators:atomic_coulomb_repulsion|"AU"]]// and //[[documentation:standard_operators:nuclear_multipole|"NuclearMultipole"]]// act on atomic orbitals given by their radial functions, see below. |
| ### | ### |
| |
| |
| ===== Example 1 ===== | ===== Example 1 ===== |
| | ;;# |
| | <color #ed1c24>New in 0.9.1</color> |
| | ;;# |
| |
| <code Quanty Example.Quanty> | <code Quanty Example.Quanty> |
| -- the atomic operators of Ne on its own Dirac-Fock orbitals | -- the atomic operators of Ne on its own Dirac-Fock orbitals |
| G, F, x, Atom = CalculateAtomicBasisFunctions(10) | G, F, Atom = CalculateAtomicBasisFunctions(10) |
| indices, NF = CreateAtomicIndicesList(Atom.Labels, {{"Kappas", true}}) | indices, NF = CreateAtomicIndicesList(Atom.Labels, {{"Kappas", true}}) |
| |
| ===== Table of contents ===== | ===== Table of contents ===== |
| {{indexmenu>.#1}} | {{indexmenu>.#1}} |
| | |
| | |
| |
| |
| |