OpenCAP
Electronic structure of metastable states
Public Member Functions | Public Attributes | List of all members
element Struct Reference

Object for storing element data. More...

#include <Atom.h>

Public Member Functions

 element (int new_Z, std::string new_name, std::string new_symbol)
 
std::string & getName ()
 

Public Attributes

int Z
 
std::string name
 
std::string symbol
 

Detailed Description

Object for storing element data.

Contains atomic name, symbol, and nuclear charge.

Constructor & Destructor Documentation

◆ element()

element::element ( int  new_Z,
std::string  new_name,
std::string  new_symbol 
)
inline
Parameters
new_Zatomic number
new_nameelement name
new_symbolelement symbol

Member Function Documentation

◆ getName()

std::string& element::getName ( )
inline

Member Data Documentation

◆ name

std::string element::name

Element name

◆ symbol

std::string element::symbol

Atomic symbol

◆ Z

int element::Z

Nuclear charge


The documentation for this struct was generated from the following file: