#include <attribute.h>
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 BoundaryCond * | give_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 |
![]() | |
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 |
![]() | |
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 Problem * | give_Pd (void) const |
Protected Attributes | |
BCType | type |
BCType | loctype |
int | ncomp |
double * | components |
long | ltf |
bool | constant |
DOFsPerNode | dpn |
const BoundaryCond * | bcbr |
![]() | |
long | sifid |
char * | linerec |
![]() | |
long | ID |
(global) identification number == position in list of members; zero-based numbering. More... | |
const Problem * | Pd |
Pointer to owner = parent problem. More... | |
Definition at line 291 of file attribute.h.
|
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.
|
inlinevirtual |
|
inline |
Definition at line 374 of file attribute.h.
References components, midaspace::DPN_DxyzR___, midaspace::DPN_DxyzRxyz, errol, and give_dpn().
|
virtual |
finalize preprocessing
Checks data consistency.
Reimplemented from midaspace::ProblemSubject.
Definition at line 653 of file attribute.cpp.
References _errorr2, midaspace::BC_OOFEM, midaspace::BC_PV, midaspace::ProblemSubject::checkConsistency(), midaspace::DOFsPerNode2nDOFs(), give_dpn(), give_loctype(), give_type(), midaspace::ProblemSubject::ID, and ncomp.
|
inline |
Definition at line 330 of file attribute.h.
References components, constant, dpn, midaspace::DPN_DxyzR___, midaspace::DPN_DxyzRxyz, errol, loctype, ltf, ncomp, set_bcbr(), and type.
Referenced by midaspace::Problem::switch_BC().
|
inline |
Definition at line 373 of file attribute.h.
References bcbr.
Referenced by midaspace::Problem::switch_BC().
|
inlinevirtual |
Returns classID - class identification.
Reimplemented from midaspace::Attribute.
Definition at line 353 of file attribute.h.
References midaspace::classBoundaryCond.
|
inline |
Definition at line 371 of file attribute.h.
References components.
|
inline |
Definition at line 372 of file attribute.h.
References dpn, midaspace::Problem::give_DOFspnod(), and midaspace::ProblemSubject::Pd.
Referenced by check_dpn(), checkConsistency(), and midaspace::Problem::switch_BC().
|
inline |
Definition at line 369 of file attribute.h.
References midaspace::BC_OOFEM, midaspace::BC_SIFEL, loctype, and type.
Referenced by checkConsistency(), initialize_from(), midaspace::AssignBC::initialize_from(), and midaspace::Element::set_load().
|
inline |
Definition at line 370 of file attribute.h.
References ncomp.
|
inline |
void midaspace::BoundaryCond::initialize_BC_NL_SIFEL | ( | FILE * | stream | ) |
Definition at line 644 of file attribute.cpp.
References midaspace::BC_NL, components, midaspace::Problem::give_global_nDOFs(), ncomp, midaspace::ProblemSubject::Pd, scan_components(), and type.
Referenced by midaspace::PointAttribs::read_bc().
|
virtual |
initialize form input string
Reimplemented from midaspace::Attribute.
Definition at line 576 of file attribute.cpp.
References _errorr2, midaspace::BC_CBL, midaspace::BC_CEL, midaspace::BC_CFL, midaspace::BC_DW, midaspace::BC_NL, midaspace::BC_OOFEM, midaspace::BC_PV, midaspace::BC_Void, midaspace::BCType_s2e_OOFEM(), CASE, components, midaspace::DOFsPerNode_s2e(), dpn, errol, give_loctype(), midaspace::Problem::give_PDBO(), midaspace::Problem::give_sifBCs(), loctype, ltf, ncomp, midaspace::ProblemSubject::Pd, midaspace::PDBO_P_dw, midaspace::Attribute::scan_linerec(), midaspace::Attribute::sifid, midaspace::SP_scan_array(), SP_scan_expected_word_exit, midaspace::SP_scan_number(), midaspace::SP_scan_word(), and type.
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().
|
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 | ) |
Definition at line 683 of file attribute.cpp.
References midaspace::BC_OOFEM, midaspace::BC_PV, CASE, components, midaspace::Attribute::linerec, ncomp, midaspace::SP_scan_expected_word(), and type.
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().
|
virtual |
print row to solver input file
Reimplemented from midaspace::Attribute.
Definition at line 705 of file attribute.cpp.
References _errorr2, midaspace::BC_CEL, midaspace::BC_CFL, midaspace::BC_DW, midaspace::BC_NL, midaspace::BC_OOFEM, midaspace::BC_PV, midaspace::BC_SIFEL, components, errol, midaspace::FFF_OOFEM, midaspace::FFF_SIFEL, midaspace::ProblemSubject::ID, loctype, ltf, ncomp, print_components_oo(), midaspace::Attribute::print_linerec(), and type.
|
inline |
Definition at line 386 of file attribute.h.
References components, midaspace::FP_scan_array(), and ncomp.
Referenced by initialize_BC_NL_SIFEL(), and midaspace::Problem::read_mesh_SIFEL().
|
inline |
void midaspace::BoundaryCond::setadd_loctype_sifif | ( | BCType | loct, |
int | locid | ||
) |
Definition at line 664 of file attribute.cpp.
References midaspace::BC_SIFEL, errol, midaspace::Problem::give_sifBCs(), loctype, midaspace::ProblemSubject::Pd, midaspace::Attribute::sifid, and type.
Referenced by midaspace::Problem::read_mesh_SIFEL().
|
protected |
Definition at line 301 of file attribute.h.
Referenced by BoundaryCond(), give_bcbr(), and set_bcbr().
|
protected |
Definition at line 297 of file attribute.h.
Referenced by BoundaryCond(), check_dpn(), copy_bcbr(), give_component(), initialize_BC_NL_SIFEL(), initialize_from(), initialize_the_first_BC(), is_identical_with(), is_the_first_BC(), print_components(), print_components_oo(), print_row(), scan_components(), and ~BoundaryCond().
|
protected |
Definition at line 299 of file attribute.h.
Referenced by BoundaryCond(), copy_bcbr(), and is_identical_with().
|
protected |
Definition at line 300 of file attribute.h.
Referenced by BoundaryCond(), copy_bcbr(), give_dpn(), initialize_from(), and is_identical_with().
|
protected |
Definition at line 295 of file attribute.h.
Referenced by BoundaryCond(), copy_bcbr(), give_loctype(), initialize_from(), initialize_the_first_BC(), is_identical_with(), print_row(), and setadd_loctype_sifif().
|
protected |
Definition at line 298 of file attribute.h.
Referenced by BoundaryCond(), copy_bcbr(), initialize_from(), initialize_the_first_BC(), is_identical_with(), and print_row().
|
protected |
Definition at line 296 of file attribute.h.
Referenced by BoundaryCond(), checkConsistency(), copy_bcbr(), give_ncomp(), initialize_BC_NL_SIFEL(), initialize_from(), initialize_the_first_BC(), is_identical_with(), is_the_first_BC(), print_components(), print_components_oo(), print_row(), and scan_components().
|
protected |
Definition at line 294 of file attribute.h.
Referenced by BoundaryCond(), copy_bcbr(), give_loctype(), give_type(), initialize_BC_NL_SIFEL(), initialize_from(), initialize_the_first_BC(), is_identical_with(), is_the_first_BC(), print_row(), and setadd_loctype_sifif().