ASL
0.1.7
Advanced Simulation Library
|
Defines andditionl features related to a VectorTemplate. More...
#include <aslTemplatesExtras.h>
Public Member Functions | |
VTObjects (const VectorTemplate *vt, const std::vector< unsigned int > &ep1, const std::vector< unsigned int > &ep2, const std::vector< AVec< int >> &elCells) | |
acl::VectorOfElements | cellGradient (const acl::VectorOfElements &val, unsigned int ic) const |
computes gradient within the elementary cell ic and values in the corners val More... | |
void | getCellPoints (unsigned int ic, std::vector< AVec<>> &points) const |
fill points by corner coordinates of the cell ic More... | |
Public Attributes | |
const VectorTemplate * | vt |
std::vector< unsigned int > | edgePoint1 |
std::vector< unsigned int > | edgePoint2 |
std::vector< AVec< int > > | elementaryCells |
std::vector< AMatr<> > | cellMatrices |
Related Functions | |
(Note that these are not member functions.) | |
double | edgeWeight (const VTObjects &vto, unsigned int iEl, unsigned int i, unsigned int j) |
returns coefficient of the laplace operator corresponding to the direction of a cell edge More... | |
Defines andditionl features related to a VectorTemplate.
contains list of edges for a template. this can be used in level set and iso-surface extraction algorithms
Definition at line 43 of file aslTemplatesExtras.h.
asl::VTObjects::VTObjects | ( | const VectorTemplate * | vt, |
const std::vector< unsigned int > & | ep1, | ||
const std::vector< unsigned int > & | ep2, | ||
const std::vector< AVec< int >> & | elCells | ||
) |
acl::VectorOfElements asl::VTObjects::cellGradient | ( | const acl::VectorOfElements & | val, |
unsigned int | ic | ||
) | const |
computes gradient within the elementary cell ic
and values in the corners val
void asl::VTObjects::getCellPoints | ( | unsigned int | ic, |
std::vector< AVec<>> & | points | ||
) | const |
fill points
by corner coordinates of the cell ic
|
related |
returns coefficient of the laplace operator corresponding to the direction of a cell edge
std::vector<AMatr<> > asl::VTObjects::cellMatrices |
Definition at line 52 of file aslTemplatesExtras.h.
std::vector<unsigned int> asl::VTObjects::edgePoint1 |
Definition at line 49 of file aslTemplatesExtras.h.
std::vector<unsigned int> asl::VTObjects::edgePoint2 |
Definition at line 50 of file aslTemplatesExtras.h.
std::vector<AVec<int> > asl::VTObjects::elementaryCells |
Definition at line 51 of file aslTemplatesExtras.h.
const VectorTemplate* asl::VTObjects::vt |
Definition at line 48 of file aslTemplatesExtras.h.