MADNESS 0.10.1
mcpfit.cc File Reference

fitting parameters of Model Core Potential More...

#include <madness/mra/mra.h>
#include <madness/tensor/solvers.h>
#include <madness/chem/corepotential.h>
#include <iostream>
#include <iomanip>
#include <set>
#include <cstdio>
Include dependency graph for mcpfit.cc:

Classes

struct  Calculation
struct  CalculationParameters
struct  CoreFittingTarget
class  CoreOrbitalFunctor
class  CorePotentialFunctor
class  GaussianFunctor
class  MySteepestDescent
class  NcOverR
class  PotentialBasisFunctor
class  RadiusFunctor
class  RadiusSquareFunctor

Typedefs

typedef Vector< double, 3 > coordT
typedef FunctionFactory< double, 3 > factoryT
typedef Function< double, 3 > functionT
typedef std::shared_ptr< FunctionFunctorInterface< double, 3 > > functorT
typedef SeparatedConvolution< double, 3 > operatorT
typedef std::shared_ptr< WorldDCPmapInterface< Key< 3 > > > pmapT
typedef std::shared_ptr< operatorT> poperatorT
typedef Tensor< double > tensorT
typedef vector< functionT > vecfuncT

Functions

void END_TIMER (World &world, const char *msg)
int main (int argc, char **argv)
double mask1 (double x)
double mask3 (const coordT &ruser)
void print (const tensorT &t)
tensorT Q3 (const tensorT &s)
 Given overlap matrix, return rotation with 3rd order error to orthonormalize the vectors.
static double radius_function (double rsq)
void START_TIMER (World &world)
static vector< double > tensor2vec (const tensorT &t)
static tensorT vec2tensor (const vector< double > &v)

Variables

static double sss
static double ttt

Detailed Description

fitting parameters of Model Core Potential

Typedef Documentation

◆ coordT

typedef Vector<double,3> coordT

◆ factoryT

typedef FunctionFactory<double,3> factoryT

◆ functionT

typedef Function<double,3> functionT

◆ functorT

typedef std::shared_ptr< FunctionFunctorInterface<double,3> > functorT

◆ operatorT

typedef SeparatedConvolution<double,3> operatorT

◆ pmapT

typedef std::shared_ptr< WorldDCPmapInterface< Key<3> > > pmapT

◆ poperatorT

typedef std::shared_ptr<operatorT> poperatorT

◆ tensorT

typedef Tensor<double> tensorT

◆ vecfuncT

typedef vector<functionT> vecfuncT

Function Documentation

◆ END_TIMER()

void END_TIMER ( World & world,
const char * msg )

◆ main()

◆ mask1()

double mask1 ( double x)
inline

Referenced by mask3().

◆ mask3()

double mask3 ( const coordT & ruser)

References lo, mask1(), and madness::user_to_sim().

Referenced by run(), and Calculation::set_protocol().

◆ print()

void print ( const tensorT & t)

References madness::BaseTensor::dim().

Referenced by Calculation::Calculation(), madness::FunctionCommonData< double, NDIM >::_init_quadrature(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::build_taylor_y(), Calculation::calc_optimal_coeffs(), madness::FunctionImpl< T, NDIM >::compress_spawn(), Calculation::compute_residuals(), madness::PotentialManager::core_projection(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::diagnose_error(), doplotptk(), CoreFittingTarget::gradient(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::harmonic_basis(), madness::LowRankFunction< T, NDIM, LDIM >::l2error(), Calculation::load_mos(), main(), Calculation::make_reference(), opt(), opt(), MySteepestDescent::optimize(), Calculation::print_info(), CalculationParameters::print_info(), madness::FunctionImpl< T, NDIM >::print_size(), madness::LowRankFunction< T, NDIM, LDIM >::print_size(), madness::FunctionImpl< T, NDIM >::print_stats(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::project(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::project_from_operator(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::project_from_Y_stable(), Calculation::project_potential_basis(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::project_stable(), madness::Exchange< T, NDIM >::ExchangeImpl< T, NDIM >::MacroTaskExchangeRow::row_fetch_compute(), Calculation::set_protocol(), Subspace::update_subspace(), Subspace::update_subspace(), CoreFittingTarget::value(), and madness::FunctionImpl< T, NDIM >::verify_tree_state_local().

◆ Q3()

tensorT Q3 ( const tensorT & s)

Given overlap matrix, return rotation with 3rd order error to orthonormalize the vectors.

References madness::inner(), and Q().

Referenced by Calculation::load_mos().

◆ radius_function()

double radius_function ( double rsq)
inlinestatic

◆ START_TIMER()

◆ tensor2vec()

◆ vec2tensor()

tensorT vec2tensor ( const vector< double > & v)
static

References v.

Referenced by main(), and Calculation::update().

Variable Documentation

◆ sss

double sss
static

◆ ttt