ASL  0.1.7
Advanced Simulation Library
Public Member Functions | Public Attributes | Related Functions | List of all members
asl::VTObjects Class Reference

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

#include <aslTemplatesExtras.h>

Collaboration diagram for asl::VTObjects:
Collaboration graph
[legend]

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

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

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

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

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

fill points by corner coordinates of the cell ic

Friends And Related Function Documentation

◆ edgeWeight()

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