MIDAS  0.75
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
midaspace::BoundaryCond Class Reference

#include <attribute.h>

Inheritance diagram for midaspace::BoundaryCond:
midaspace::Attribute midaspace::ProblemSubject

Public Member Functions

 BoundaryCond (const Problem *pd, long i)
 CONSTRUCTOR. More...
 
virtual ~BoundaryCond ()
 DESTRUCTOR. More...
 
bool is_identical_with (BoundaryCond *val) const
 IDENTICAL. More...
 
void copy_bcbr (const BoundaryCond *bc, DOFsPerNode dpn_old, DOFsPerNode dpn_new)
 
virtual classID give_classid () const
 Returns classID - class identification. More...
 
virtual bool initialize_from (const char *&str, femFileFormat ff, bool all=true)
 initialize form input string More...
 
virtual void checkConsistency (void) const
 finalize preprocessing More...
 
void initialize_BC_NL_SIFEL (FILE *stream)
 
void setadd_loctype_sifif (BCType loct, int locid)
 
void set_bcbr (const BoundaryCond *bc)
 
BCType give_type (void) const
 
BCType give_loctype (void) const
 
int give_ncomp (void) const
 
double give_component (int i) const
 
DOFsPerNode give_dpn (void) const
 
const BoundaryCondgive_bcbr (void) const
 
void check_dpn (const DOFsPerNode eldpn) const
 
void initialize_the_first_BC (void)
 
bool is_the_first_BC (void)
 
bool scan_components (FILE *stream, int ncmp)
 
virtual void print_row (FILE *stream, femFileFormat fff, long did) const
 print row to solver input file More...
 
void print_components_oo (FILE *stream) const
 
void print_components (FILE *stream) const
 
- Public Member Functions inherited from midaspace::Attribute
 Attribute (const Problem *pd, long gid)
 CONSTRUCTOR. More...
 
virtual ~Attribute ()
 DESTRUCTOR. More...
 
long give_sifid (void) const
 *** SET *** *** GET *** More...
 
void scan_linerec (const char *str)
 
void print_linerec (FILE *stream, bool pure) const
 
- Public Member Functions inherited from midaspace::ProblemSubject
 ProblemSubject (long gid)
 CONSTRUCTOR. More...
 
 ProblemSubject (long gid, const Problem *owner)
 CONSTRUCTOR. More...
 
virtual ~ProblemSubject ()
 DESTRUCTOR. More...
 
virtual void initialize (void)
 = 0; = 0; More...
 
virtual void finitialize (void)
 finalize problem preprocessing More...
 
void set_ID (long val)
 
long give_ID () const
 
void set_Pd (const Problem *owner)
 
const Problemgive_Pd (void) const
 

Protected Attributes

BCType type
 
BCType loctype
 
int ncomp
 
double * components
 
long ltf
 
bool constant
 
DOFsPerNode dpn
 
const BoundaryCondbcbr
 
- Protected Attributes inherited from midaspace::Attribute
long sifid
 
char * linerec
 
- Protected Attributes inherited from midaspace::ProblemSubject
long ID
 (global) identification number == position in list of members; zero-based numbering. More...
 
const ProblemPd
 Pointer to owner = parent problem. More...
 

Detailed Description

Definition at line 291 of file attribute.h.

Constructor & Destructor Documentation

midaspace::BoundaryCond::BoundaryCond ( const Problem pd,
long  i 
)
inline

CONSTRUCTOR.

Definition at line 305 of file attribute.h.

References midaspace::BC_Void, bcbr, components, constant, dpn, midaspace::DPN_Void, loctype, ltf, ncomp, and type.

virtual midaspace::BoundaryCond::~BoundaryCond ( )
inlinevirtual

DESTRUCTOR.

Definition at line 314 of file attribute.h.

References components.

Member Function Documentation

void midaspace::BoundaryCond::check_dpn ( const DOFsPerNode  eldpn) const
inline
void midaspace::BoundaryCond::checkConsistency ( void  ) const
virtual
void midaspace::BoundaryCond::copy_bcbr ( const BoundaryCond bc,
DOFsPerNode  dpn_old,
DOFsPerNode  dpn_new 
)
inline
const BoundaryCond* midaspace::BoundaryCond::give_bcbr ( void  ) const
inline

Definition at line 373 of file attribute.h.

References bcbr.

Referenced by midaspace::Problem::switch_BC().

virtual classID midaspace::BoundaryCond::give_classid ( ) const
inlinevirtual

Returns classID - class identification.

Reimplemented from midaspace::Attribute.

Definition at line 353 of file attribute.h.

References midaspace::classBoundaryCond.

double midaspace::BoundaryCond::give_component ( int  i) const
inline

Definition at line 371 of file attribute.h.

References components.

DOFsPerNode midaspace::BoundaryCond::give_dpn ( void  ) const
inline
BCType midaspace::BoundaryCond::give_loctype ( void  ) const
inline
int midaspace::BoundaryCond::give_ncomp ( void  ) const
inline

Definition at line 370 of file attribute.h.

References ncomp.

BCType midaspace::BoundaryCond::give_type ( void  ) const
inline

Definition at line 368 of file attribute.h.

References type.

Referenced by checkConsistency().

void midaspace::BoundaryCond::initialize_BC_NL_SIFEL ( FILE *  stream)
bool midaspace::BoundaryCond::initialize_from ( const char *&  str,
femFileFormat  ff,
bool  all = true 
)
virtual
void midaspace::BoundaryCond::initialize_the_first_BC ( void  )

Definition at line 674 of file attribute.cpp.

References midaspace::BC_PV, components, loctype, ltf, ncomp, and type.

Referenced by midaspace::Problem::initialization().

bool midaspace::BoundaryCond::is_identical_with ( BoundaryCond val) const
inline

IDENTICAL.

Definition at line 316 of file attribute.h.

References components, constant, dpn, midaspace::isZero(), loctype, ltf, ncomp, and type.

bool midaspace::BoundaryCond::is_the_first_BC ( void  )
void midaspace::BoundaryCond::print_components ( FILE *  stream) const

Definition at line 735 of file attribute.cpp.

References components, and ncomp.

void midaspace::BoundaryCond::print_components_oo ( FILE *  stream) const

Definition at line 729 of file attribute.cpp.

References components, and ncomp.

Referenced by print_row().

void midaspace::BoundaryCond::print_row ( FILE *  stream,
femFileFormat  fff,
long  did 
) const
virtual
bool midaspace::BoundaryCond::scan_components ( FILE *  stream,
int  ncmp 
)
inline
void midaspace::BoundaryCond::set_bcbr ( const BoundaryCond bc)
inline

Definition at line 366 of file attribute.h.

References bcbr.

Referenced by copy_bcbr().

void midaspace::BoundaryCond::setadd_loctype_sifif ( BCType  loct,
int  locid 
)

Member Data Documentation

const BoundaryCond* midaspace::BoundaryCond::bcbr
protected

Definition at line 301 of file attribute.h.

Referenced by BoundaryCond(), give_bcbr(), and set_bcbr().

double* midaspace::BoundaryCond::components
protected
bool midaspace::BoundaryCond::constant
protected

Definition at line 299 of file attribute.h.

Referenced by BoundaryCond(), copy_bcbr(), and is_identical_with().

DOFsPerNode midaspace::BoundaryCond::dpn
protected

Definition at line 300 of file attribute.h.

Referenced by BoundaryCond(), copy_bcbr(), give_dpn(), initialize_from(), and is_identical_with().

BCType midaspace::BoundaryCond::loctype
protected
long midaspace::BoundaryCond::ltf
protected
int midaspace::BoundaryCond::ncomp
protected
BCType midaspace::BoundaryCond::type
protected

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