68#include "maloc/maloc.h"
80 void (*externalUpdate)(SS **simps,
int num)
128#if !defined(VINLINE_VCSM)
214# define Vcsm_getValist(thee) ((thee)->alist)
215# define Vcsm_getNumberAtoms(thee, isimp) ((thee)->nsqm[isimp])
216# define Vcsm_getAtom(thee, iatom, isimp) (Valist_getAtom((thee)->alist, ((thee)->sqm)[isimp][iatom]))
217# define Vcsm_getAtomIndex(thee, iatom, isimp) (((thee)->sqm)[isimp][iatom])
218# define Vcsm_getNumberSimplices(thee, iatom) (((thee)->nqsm)[iatom])
219# define Vcsm_getSimplex(thee, isimp, iatom) (Gem_SS((thee)->gm, ((thee)->qsm)[iatom][isimp]))
220# define Vcsm_getSimplexIndex(thee, isimp, iatom) (((thee)->qsm)[iatom][isimp])
221# define Vcsm_memChk(thee) (Vmem_bytes((thee)->vmem))
struct sValist Valist
Declaration of the Valist class as the Valist structure.
struct sVatom Vatom
Declaration of the Vatom class as the Vatom structure.
struct sVcsm Vcsm
Declaration of the Vcsm class as the Vcsm structure.
VEXTERNC int Vcsm_getNumberAtoms(Vcsm *thee, int isimp)
Get number of atoms associated with a simplex.
VEXTERNC int Vcsm_getAtomIndex(Vcsm *thee, int iatom, int isimp)
Get ID of particular atom in a simplex.
VEXTERNC void Vcsm_dtor2(Vcsm *thee)
FORTRAN stub to destroy Vcsm object.
VEXTERNC Vcsm * Vcsm_ctor(Valist *alist, Gem *gm)
Construct Vcsm object.
VEXTERNC SS * Vcsm_getSimplex(Vcsm *thee, int isimp, int iatom)
Get particular simplex associated with an atom.
VEXTERNC int Vcsm_update(Vcsm *thee, SS **simps, int num)
Update the charge-simplex and simplex-charge maps after refinement.
VEXTERNC Vatom * Vcsm_getAtom(Vcsm *thee, int iatom, int isimp)
Get particular atom associated with a simplex.
VEXTERNC int Vcsm_ctor2(Vcsm *thee, Valist *alist, Gem *gm)
FORTRAN stub to construct Vcsm object.
VEXTERNC void Vcsm_init(Vcsm *thee)
Initialize charge-simplex map with mesh and atom data.
VEXTERNC int Vcsm_getNumberSimplices(Vcsm *thee, int iatom)
Get number of simplices associated with an atom.
VEXTERNC void Gem_setExternalUpdateFunction(Gem *thee, void(*externalUpdate)(SS **simps, int num))
External function for FEtk Gem class to use during mesh refinement.
VEXTERNC unsigned long int Vcsm_memChk(Vcsm *thee)
Return the memory used by this structure (and its contents) in bytes.
VEXTERNC void Vcsm_dtor(Vcsm **thee)
Destroy Vcsm object.
VEXTERNC Valist * Vcsm_getValist(Vcsm *thee)
Get atom list.
VEXTERNC int Vcsm_getSimplexIndex(Vcsm *thee, int isimp, int iatom)
Get index particular simplex associated with an atom.
Charge-simplex map class.
Contains declarations for class Valist.
Contains generic macro definitions for APBS.