ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
asl::VTObjects Class Reference

Defines andditionl features related to a VectorTemplate. More...

#include <aslTemplatesExtras.h>

Collaboration diagram for asl::VTObjects:

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
void getCellPoints (unsigned int ic, std::vector< AVec<> > &points) const
 fill points by corner coordinates of the cell ic
 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
void getCellPoints (unsigned int ic, std::vector< AVec<> > &points) const
 fill points by corner coordinates of the cell ic

Public Attributes

const VectorTemplatevt
std::vector< unsigned int > edgePoint1
std::vector< unsigned int > edgePoint2
std::vector< AVec< int > > elementaryCells
std::vector< AMatr<> > cellMatrices

(Note that these are not member symbols.)

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
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

Detailed Description

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.

Constructor & Destructor Documentation

◆ VTObjects() [1/2]

asl::VTObjects::VTObjects ( const VectorTemplate * vt,
const std::vector< unsigned int > & ep1,
const std::vector< unsigned int > & ep2,
const std::vector< AVec< int > > & elCells )

◆ VTObjects() [2/2]

asl::VTObjects::VTObjects ( const VectorTemplate * vt,
const std::vector< unsigned int > & ep1,
const std::vector< unsigned int > & ep2,
const std::vector< AVec< int > > & elCells )

Member Function Documentation

◆ cellGradient() [1/2]

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

◆ cellGradient() [2/2]

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

◆ getCellPoints() [1/2]

void asl::VTObjects::getCellPoints ( unsigned int ic,
std::vector< AVec<> > & points ) const

fill points by corner coordinates of the cell ic

◆ getCellPoints() [2/2]

void asl::VTObjects::getCellPoints ( unsigned int ic,
std::vector< AVec<> > & points ) const

fill points by corner coordinates of the cell ic

◆ edgeWeight() [1/2]

double edgeWeight ( const VTObjects & vto,
unsigned int iEl,
unsigned int i,
unsigned int j )
related

returns coefficient of the laplace operator corresponding to the direction of a cell edge

◆ edgeWeight() [2/2]

double edgeWeight ( const VTObjects & vto,
unsigned int iEl,
unsigned int i,
unsigned int j )
related

returns coefficient of the laplace operator corresponding to the direction of a cell edge

Member Data Documentation

◆ cellMatrices

std::vector< AMatr<> > asl::VTObjects::cellMatrices

Definition at line 52 of file aslTemplatesExtras.h.

◆ edgePoint1

std::vector< unsigned int > asl::VTObjects::edgePoint1

Definition at line 49 of file aslTemplatesExtras.h.

◆ edgePoint2

std::vector< unsigned int > asl::VTObjects::edgePoint2

Definition at line 50 of file aslTemplatesExtras.h.

◆ elementaryCells

std::vector< AVec< int > > asl::VTObjects::elementaryCells

Definition at line 51 of file aslTemplatesExtras.h.

◆ vt

const VectorTemplate * asl::VTObjects::vt

Definition at line 48 of file aslTemplatesExtras.h.


The documentation for this class was generated from the following files: