sisi4s
Loading...
Searching...
No Matches
BasisParser.cxx File Reference
#include <nwchem/BasisParser.hpp>
#include <util/AngularMomentum.hpp>
#include <util/BasisSet.hpp>
#include <numeric>
Include dependency graph for BasisParser.cxx:

Variables

const Regex spherical = oneOf({"SPHERICAL", "spherical"})
 
const Regex no_line = bof + blank + anyOf + eof
 
const Regex comment = bof + "#" + print + anyOf
 
const Regex atom = upper + lower + optional
 
const Regex sep = blank + oneOrMore
 
const Regex shell_symbol = oneOf({"S", "P", "D", "F", "G", "H", "I", "K"})
 
const Regex shell_header
 
const Regex shell_content
 
const Regex basis_token = oneOf({"basis", "BASIS"})
 
const Regex basis_name = "\"" + capture(print + oneOrMore) + "\""
 
const Regex basis_header
 
const Regex basis_end = bof + group(oneOf({"end", "END"}))
 

Variable Documentation

◆ atom

const Regex atom = upper + lower + optional

◆ basis_end

const Regex basis_end = bof + group(oneOf({"end", "END"}))

◆ basis_header

const Regex basis_header
Initial value:
const Regex sep
Definition BasisParser.cxx:13
const Regex basis_token
Definition BasisParser.cxx:19
const Regex basis_name
Definition BasisParser.cxx:20
const Regex spherical
Definition BasisParser.cxx:10
const Str blank("[[:blank:]]")
const std::function< Str(Str)> group([](const Str &i) { return "(?:"+i+")";})
const Str anyOf("*")
const std::string s
Definition Parsing.hpp:46

◆ basis_name

const Regex basis_name = "\"" + capture(print + oneOrMore) + "\""

◆ basis_token

const Regex basis_token = oneOf({"basis", "BASIS"})

◆ comment

const Regex comment = bof + "#" + print + anyOf

◆ no_line

const Regex no_line = bof + blank + anyOf + eof

◆ sep

const Regex sep = blank + oneOrMore

◆ shell_content

const Regex shell_content
Initial value:
const Str bof("^")
const std::function< Str(Str)> capture([](const Str &i) { return "("+i+")";})
const Str realNumber("[-eE+\\d.]+")

◆ shell_header

const Regex shell_header
Initial value:
const Regex atom
Definition BasisParser.cxx:13
const Regex shell_symbol
Definition BasisParser.cxx:14

◆ shell_symbol

const Regex shell_symbol = oneOf({"S", "P", "D", "F", "G", "H", "I", "K"})

◆ spherical

const Regex spherical = oneOf({"SPHERICAL", "spherical"})